xroot wrote:
1. Problem Description:
i am missing some environment variables when i enable
Apache::Reload with the following commands in
httpd.conf:
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
here are the differences from print %ENV:
Apache::Reload enabled:
HTTP_CACHE_CONTROL: no-cache
Apache::Reload disabled:
REMOTE_USER: root
SCRIPT_FILENAME:
/www/webs/xxxxxxxxx/secure/test.pl
AUTH_TYPE: Basic
HTTP_CACHE_CONTROL: max-age=0
so with Apache::Reload enabled, HTTP_CACHE_CONTROL
differs and the other three are missing. especially
the missing REMOTE_USER is very bad :-(
the not mentioned variables are identically.
Apache::Reload was returning 1, instead of Apache::OK, so if you had any other
InitHandlers they would have been skipped (guessing that this was your
problem). This is fixed in cvs. If the problem persists please help us to
reproduce it (send us the relevant sections of httpd.conf (mod_perl bits) and
the code that you are having the problem with).
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
|