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.

Reply via email to