Enrico Sorcinelli wrote: > Hi all, > > with this simple configuration (Apache 2.0.47 / mod_perl 1.9911): > > ... > LoadModule perl_module modules/mod_perl.so > PerlModule Apache2 > PerlModule Apache::Status > <Perl > > use lib '/home/lib/perl'; > </Perl> > ... > > I've this error (the server doesn't start at all): > > [Thu Dec 04 14:14:31 2003] [error] failed to resolve handler `Apache::PerlSections' > Syntax error on line 12 of /usr/local/apache-2.0.47/conf/mod_perl.conf: > <Perl> handler Apache::PerlSections failed with status=500 > > The same directives work fine with until mp2 1.9910. > > Moreover, if I comment "PerlModule Apache::Status" line or I move it after first > <Perl ></Perl> section in httpd.conf file, the server starts.
because PerlSections::handler() is a method handler, you need to PerlModule Apache::PerlSections so that the require() in Apache::Status isn't the one to load the module. in mp1 any kind of pre-loading was ok for method handlers, but this leads me to believe that PerlModule is somehow required. I dunno, though. HTH --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
