allyc has asked for the wisdom of the Perl Monks concerning the following question:
I am having problems with setting up Mod Perl with Apache 2 on my Windows XP machine. Apache 2 (2.0.45) installed using the standard Apache Binaries, and Perl is 5.8.0 (Activestate Build 805).
I have downloaded and installed the mod_perl.ppm from http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppm and managed to get Apache 2 running without any errors.
However when I come to execute a Perl script using Mod Perl, i get a 500 internal server error, and the message "Failed to resolve Handler Apache::Registry - Can't locate Apache/Registry.pm in C:/Perl5.8/lib C:/Perl5.8/site/lib at (Eval 1) line 3.0".
The file Registry.pm is installed in C:\Perl5.8\site\lib\ModPerl and not in the apache directory.
My httpd.conf file looks like ...
<Location /perl> SetHandler perl-script PerlResponceHandler Apache::Registry # Also tried ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Location>
Any one have any ideas what is wrong with this?
Thanks for your help
Alistair
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mod Perl and Apache 2 Problems
by PodMaster (Abbot) on Jul 14, 2003 at 21:31 UTC | |
|
Re: Mod Perl and Apache 2 Problems
by CountZero (Bishop) on Jul 14, 2003 at 21:44 UTC | |
|
Re: Mod Perl and Apache 2 Problems
by Anonymous Monk on Jul 14, 2003 at 21:24 UTC | |
|
Re: Mod Perl and Apache 2 Problems
by duct_tape (Hermit) on Jul 15, 2003 at 18:58 UTC |