Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 15, 2005, 12:11 pm
rate this thread
I am attempting to set up mod_perl on my RedHat 9.
I am following the instructions from a book I bought but have
encountered 2 problems, and have not been able to find the fixes for
The book instructed me to add a startup.pl file in my /etc/httpd/conf/
and this file contains the line:
my httpd.conf file contains:
1) when I attempt to start up the Apache server I get:
Starting httpd: Syntax error on line 1051 of
Invalid command 'PerlFreshRestart', perhaps mis-spelled or defined by a
module not included in the server configuration
Not sure if PerlFreshRestart is still a valid command, or if has since
been replaced by something else?
2) If I comment out that PerlFreshRestart On line, and try to start the
Apache server, I get:
[error] Can't locate Apache/Registry.pm in @INC (@INC contains:
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/etc/httpd/conf/startup.pl line 7.!BEGIN failed--compilation aborted at
/etc/httpd/conf/startup.pl line 7.!Compilation failed in require at
(eval 1) line 1.!
[Fri Jul 15 11:06:51 2005] [error] Can't load Perl file:
/etc/httpd/conf/startup.pl for server 22.214.171.124:80, exiting...!
I am not sure how to proceed to set up this Apache module.
Can anyone direct me to helpful documentation regarding these? or any
althernative sources of assistance.