Jie Gao wrote:
Hi All,

On redhat 8 using mod_perl-1.99_05-3
====================================

I have the folloing in httpd.conf:

PerlCleanupHandler "sub { %ENV = () }"

in VirtualHost, and am getting:

Invalid command 'PerlCleanupHandler', perhaps mis-spelled or defined by a module not 
included in the
server configuration

Not a problem with mod_perl 1.

Any help is appreciated.

The documentation is pretty much trying to be up-to-date with the modperl cvs. So if you use an old mod_perl release, it may not work as described. Update your mod_perl to the current cvs and it'll work. See:
http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod_perl_from_Source
You need the 'CVS Bleeding-Edge Version' section


__________________________________________________________________
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



Reply via email to