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:

    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