Re: accessing environment variables set by other modules

2010-04-12 Thread Adam Prime
you might want to take a look at subprocess_env http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_ I don't think i've every tried to use %ENV in a Filter, perhaps it's not getting populated. %ENV can be a little strange in mp2, have a look at: http://perl.apache.or

accessing environment variables set by other modules

2010-04-12 Thread Chris Datfung
I want to use mod-perl to edit server responses under certain conditions. My plan was to use various modules, like mod-setenvif and mod-security to set an environment variable and then have mod-perl edit the response body only run when the environment variable is set. I tried the following test whi