Can anybody tell me why that doesn't work when you want to access environment
variables set from the process that launches Apache and that you want to access
those variables in your stanza in your httpd.conf?

I recently had to do this because from what I could see PerlPassEnv doesn't work
when you want to access the vars within the hander that's used in perl stanza's
in httpd.conf.



# repopulate %ENV

for (`env`) {
next unless /^VAR_/;
/(.*)=(.*)/;
$ENV{$1} = $2;
push @PassEnv, $1;
#print "$_\n";
}

my $hostname = $ENV{'VAR_HOSTNAME'};


Quoting Fred Moyer :

> Accepting to folder lists/perl/mod_perl
>





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.