Hello all, I'm having a problem with Modperl (1.99_12) and am hoping someone can
help. I'm running Apache 2.0.48 on a Slackware 9.1 box, and it is
serving up HTML and PHP pages correctly. However, I'm trying to get Perl
working through the server as well, and have not had any luck. The
reason for using 1.99_12 is the CMS software I'm testing does not
currently work with 1.99_13 or higher.
When running Perl scripts from a command line, the scripts run fine and they are outputting the correct text. When I try to run the scripts through the web server, I get a '500 internal server error'. Looking at the server logs, the follow error is logged every time I run a perl script:
[Mon May 24 16:05:43 2004] [error] failed to resolve handler `Modperl::Registry' [Mon May 24 16:05:43 2004] [error] [client 137.201.169.23] Can't locate Modperl/Registry.pm in @INC (@INC contains: /wwwroot/htdocs/WebGUI/lib /usr/local/lib/perl5/5.8.3/i686-linux /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i686-linux /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl . /usr/local/apache2/ /usr/local/apache2/lib/perl) at (eval 258) line 3.
I checked (find / -iname Registry.pm) to make sure Registry.pm is there, it found it at /usr/local/lib/perl5/site_perl/5.8.3/i686-linux/ModPerl/Registry.pm which is within the directories listed above.
I have the line 'LoadModule perl_module modules/mod_perl.so' in my httpd.conf file, so that is not a problem. And I have .pl files setup as CGI scripts. I have also gone through the fast start documentation (http://perl.apache.org/docs/2.0/user/intro/start_fast.html) but it could not get Perl working.
Does anyone have any recommendations or ideas?
Please show us your configuration section for the registry handler. In the future please *always* submit problem reports following these guidelines:
http://perl.apache.org/bugs/
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html