Apache/Mod_Perl Query

Apache/Mod_Perl Query

am 01.11.2007 21:55:07 von superman183

Hi,

My machine died and I'm setting up a new Windows XP box, trying to
emulate the old setup I had, with Apache 2.0 and mod_perl. Everything
used to work fine, but now I've had to download and re-install
everything from scratch.

So, Apache 2.0 is installed and working fine. Trying both via ppm
command line, and also via the interface, I have downloaded/installed
mod_perl. No apparent problems during installation.

Set up in httpd.conf is as follows (also tried syntax as
Apache::Registry as well):


SetHandler perl-script
PerlHandler ModPerl::Registry
PerlSendHeader on
Options ExecCGI



Apache is installed on drive D.

Active State Perl 5.8 is installed on drive C.

Running everything normally (ie. not using mod_perl) works fine.

However, as soon as I try to use mod_perl, I end up with all sorts of
errors in the Apache error log, per below (beginning at the very first
error):


[Thu Nov 01 16:37:41 2007] [error] failed to resolve handler
`ModPerl::Registry'
[Thu Nov 01 16:37:41 2007] [error] [client 127.0.0.1] unknown Apache::
constant EXIT at C:/Perl/site/lib/ModPerl/Const.pm line 52.
BEGIN failed--compilation aborted at C:/Perl/site/lib/ModPerl/
RegistryCooker.pm line 48.
Compilation failed in require at (eval 2) line 3.
...propagated at C:/Perl/lib/base.pm line 91.
BEGIN failed--compilation aborted at C:/Perl/site/lib/ModPerl/
Registry.pm line 26.
Compilation failed in require at (eval 1) line 3.

I seem to have tried everything, but cannot figure this out. I've
successfully installed it on a couple of machines previously, and have
never before seen these errors.

Any information to assist me would be much appreciated.

Thanks!
Jane