perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Bird <bir...@epromo.com>
Subject changing apaches environment from a mod_perl script
Date Tue, 22 May 2007 18:47:14 GMT
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?


Mime
View raw message