Forum Moderators: phranque

Message Too Old, No Replies

Passing environment variables to Tomcat

         

pesho318i

4:08 pm on Jul 7, 2014 (gmt 0)

10+ Year Member



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