Erich Oliphant wrote:
It works for me with mod_perl 1.0 and doesn't with 2.0. Which one do you have the trouble with?Thanks for the reply, just getting back from a short vacation...My test programs: first.pl --- #!/export/home/eoliphan/gnu/bin/perl -w use strict; my $key; open(LOG,"> /tmp/firstdebug.log"); foreach $key (keys %ENV) { print LOG "$key = $ENV{$key} \n"; } `/export/home/eoliphan/gnu/cgi-bin/dump_vars.pl`; close (LOG); --- dump_vars.pl has the same foreach loop and dumps to a different log file. The 'firstdebug.log' has the required CGI vars. The log generated by dump_vars.pl has what appears to be the enviroment of the httpd executable and no CGI vars.
if with 1.0, check:
Or may be you are using PerlSetEnv Off? http://perl.apache.org/docs/1.0/guide/config.html#PerlSetupEnv
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com