On 6/19/06, Srebrenko Sehic wrote:

> If there any way to access and change a variable set via normal Apache
> "SetEnv myvar 1"? I've got some other Apache modules that do stuff
> depending on the value and I want to control that behaviour from
> mod_perl.
> Something like $r->dir_config("myvar"), but that also works on
> variables set by other Apache modules and not only by PerlSetVar and
> friends.

I figured it out. To access envorimental variable set by other modules, use:

# get/set
$r->subprocess_env("variable_name" => "value");