> Jay R. Ashworth wrote:
> [...]
> >>Version:
> >>Apache/2.0.48 (Win32) mod_perl/1.99_12-dev Perl/v5.8.1
> >
> >
> > That was the kicker.  I believe the handler has changed it's name to
> > ModPerl::Registry in mod_perl 2; at least, that's what I'm using, with
> > apparent success.
>
> That's right, Jay.
>
> If you are migrating from mp1 to mp2, please take some time to review the
> following docs. They will save you a lot of frustration and wasted time.
> http://perl.apache.org/docs/2.0/user/porting/compat.html
> http://perl.apache.org/docs/2.0/user/porting/porting.html

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.
BEGIN failed--compilation aborted at
D:/Perl/site/lib/ModPerl/RegistryCooker.pm line 18.
Compilation failed in require at (eval 2) line 3.
 ...propagated at D:/Perl/lib/base.pm line 70.
BEGIN failed--compilation aborted at D:/Perl/site/lib/ModPerl/Registry.pm
line 11.
Compilation failed in require at (eval 1) line 3.

Version:
Apache/2.0.48 (Win32) mod_perl/1.99_12-dev Perl/v5.8.1

Regards



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

Reply via email to