macfrog (macfrog) wrote in lj_everywhere,
macfrog
macfrog
lj_everywhere

  • Mood:

Httd.conf Error

I added the following lines to my httd.conf file:

PerlSetEnv LJHOME /home/lineagej
PerlRequire /home/lineagej/cgi-bin/modperl.pl

(I have my home as lineagej instead of lj)

When I try to restart apache:

/etc/rc.d/init.d/httpd restart: configuration broken, ignoring restart
/etc/rc.d/init.d/httpd restart: (run 'apachectl configtest' for details)

And after I run the configtest:

Syntax error on line 1131 of /usr/local/apache/conf/httpd.conf:
Invalid command 'PerlSetEnv', perhaps mis-spelled or defined by a module not included in the server configuration

Whats going on? I have the latest cvs and ran all the right scripts to get the files in the right place (modperl.pl is there).

We are running Apache 1.3.31, RH9 and Perl 5.8.1, and using Mod_Perl 1.99

Thanks!
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 5 comments