Re: PerlSetEnv vars not available in PerlRequire script

2010-07-23 Thread Steven van der Vegt
> How about trying PerlSetVar instead of PerlSetEnv? And then in your > handler dump the var you set? This works in the handler function. There, I discovered, the ENV var is correctly set too!. Outside this function it is not. I try to rebuild the following handler-script. package Foo::Bar; use

Re: PerlSetEnv vars not available in PerlRequire script

2010-07-22 Thread Ryan Gies
Notice that PerlSetEnv is allowed in scope DIR: http://perl.apache.org/docs/2.0/user/config/config.html#mod_perl_Directives_Argument_Types_and_Allowed_Location Try moving the PerlSetEnv line to inside the LocationMatch directive. Although the above documentation indicates PerlSetVar is also of

PerlSetEnv vars not available in PerlRequire script

2010-07-22 Thread Steven van der Vegt
Greetings mod_perl list! I'm upgrading old debian servers to Ubuntu 10.04 and we have to upgrade from apache 1.x and mod_perl to apache2 and mod_perl2.x This requires rewriting configfiles and I'm running into the following problem: I've got (sort of) the following apache configuration: PerlSe