On Thu, 27 Nov 2003, [iso-8859-1] Patricio Muņoz wrote:

[ .. ]
> I see document
> http://perl.apache.org/docs/2.0/user/porting/compat.html
> and Adjust the httpd.conf
>
> Alias /perl/ "D:/Apache/Apache2/perl"
>
> <Location /perl>
>       SetHandler perl-script
>       PerlResponseHandler ModPerl::Registry
>       Options +ExecCGI
>       PerlOptions +ParseHeaders
> </Location>
>
> And restart service apache and logout error.log is
>
> [Thu Nov 27 16:48:02 2003] [error] failed to resolve handler
> `ModPerl::Registry'
> [Thu Nov 27 16:48:02 2003] [error] [client 192.168.0.5] Can't locate
> Apache/Response.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/site/lib .
> D:/Apache/Apache2/ D:/Apache/Apache2/lib/perl) at
> D:/Perl/site/lib/ModPerl/RegistryCooker.pm line 18.

You need to "use" the Apache2 module, to adjust @INC
to search in an Apache2/ subdirectory of your @INC.
Either put in a
   PerlModule Apache2
directive early on in your httpd.conf, or else have
a startup file conf/startup.pl, invoked by a
   PerlRequire "D:/Apache/Apache2/conf/startup.pl"
directive in httpd.conf, that includes a line
   use Apache2 ();
in it.

-- 
best regards,
randy kobes

--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to