stevethames wrote:
Can anyone tell me how to retrieve the environment variables set by the
Apache server in the PerlAuthenHandler or the PerlHeaderParserHandler?
Basically any handler that is called before the PerlResponseHandler.
I am using virtual hosts and want to set a variable for each one. This
variable is needed in the authentication handler. I can create a database
and store values by the host name but setting them in the environment would
be easier.
It sounds like you are looking for PerlPassEnv
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlPassEnv_