1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Passing environment variables to Tomcat

Discussion in 'Apache' started by Pesho318i, Jul 7, 2014.

  1. #1
    Hi all,

    In my apache VSHOT I am using ajp proxy to Tomcat:
    SEMrush
    ProxyPass / ajp://127.0.0.1:8009/
    ProxyPassReverse / ajp://127.0.0.1:8009/
    ProxyPreserveHost On


    One of my apache modules creates environment variables but they are not at system level, i.e. they are only accessible in the Apache context (for example in a PHP script).

    How can I pass apache-specific environment variables to Tomcat?

    Any ideas would be appreciated, thanks!
    Pesho
     
    Pesho318i, Jul 7, 2014 IP
    SEMrush