Hi All,

I have an odd situation, which I describe as follows:

I have an authentication handler and an authorisation handler for a site,
configured as:

<Location /test>
PerlOptions +SetupEnv
Options +ExecCGI
PerlAuthenHandler XXX::XXX->authen
PerlAuthzHandler YYYY::YYYY->authz
....
PerlOptions +SetupEnv
...
...
</Location>

And there is a perl (CGI) script under it that prints out the environment.

When a user is authenticated, I want to set up a few variables in
the environment. The problem is:

- if I use $r->subprocess_env($key => $value), the perl script will see the 
variables,
  but the authorisation handler will not;
- if I use $ENV($key => $value), the perl script will NOT see the variables, but
  the authorisation handler will see them.

Any suggestions?


Jie

Reply via email to