[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing apaches environment from a mod_perl script


Hi,

Hey I was wondering how I could do essentially the reverse of PerlSetEnv

instead of setting an environment variable for a virtual host inside a virtual host definition

<VirtualHost>

PerlSetEnv

</VirtualHost>

I want to set it inside of index.i
-- clip ---

my $request = shift;

$request->set_env("HOME", "/home/bird");

So basically I want to alter apache's environment variables from my script.

Any ideas?


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.