Jie Gao wrote: [...]
[Sat May 29 21:43:08 2004] [error] [client 129.xxx.xxx.xxx] Undefined subroutine main::129.xxx.xxx.xxx called at -e line 0\n
Looks definitely like %ENV problem, although it only shows in the error_log.
I've found what caused this. The culprit seems to be this sub in my httpd.conf:
PerlCleanupHandler "sub { %ENV = () }"
I commented out and the error went away.
Interesting. I suppose it's because it's doing eval "sub { %ENV = () }" before running the code. So may be the interpolation kicks in?
ModPerl::EazyLife actually causes segmentation fault.
It's quite possible. It was a work in progress, but wasn't quite finished. Feel free to improve it further and when it works, replace Apache::porting guts with it.
-- __________________________________________________________________ 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
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html