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?
Thanks!
Zac
Title: [QUESTION] Modperl setup problem.
- Re: [QUESTION] Modperl setup problem. zmfeuerborn
- Re: [QUESTION] Modperl setup problem. Stas Bekman
- RE: [QUESTION] Modperl setup problem. zmfeuerborn
- Re: [QUESTION] Modperl setup problem. Stas Bekman
- RE: [QUESTION] Modperl setup problem. zmfeuerborn
- Re: [QUESTION] Modperl setup problem. Stas Bekman
- RE: [QUESTION] Modperl setup problem. zmfeuerborn
- Re: [QUESTION] Modperl setup problem. Stas Bekman
- RE: [QUESTION] Modperl setup problem. zmfeuerborn
- Re: [QUESTION] Modperl setup problem. Stas Bekman