You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Yu, Ming" <Mi...@jhuapl.edu> on 2005/10/17 15:44:58 UTC
Mod_Perl Problem
I am new to mod_perl. I installed mod_perl version 1.29 with apache
1.3.33, and created the following section under apache httpd.conf:
<Location /perl/>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
Allow from all
</Location>
When I run http://hostnamer/perl/ from a browser, I got this error in
the log:
[Mon Oct 17 07:55:52 2005] [error] Undefined subroutine
&Apache::Constants::OPT_EXECCGI called at
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Apache/Registry.pm
line 7.\nBEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Apache/Registry.pm
line 8.\nCompilation failed in require at (eval 8) line 3.\n
Any help will be greatly appreciated.
- Ming Yu
Johns Hopkins University Applied Physics Lab.