So we go to line 610 in httpd.conf and find the code block below. We can start Apache *if* we comment out this entire section, but then some of our custom-written Perl modules don't seem to work:#apachectl start apachectl: Configuration syntax error, will not run "start": Syntax error on line 610 of /etc/httpd/conf/httpd.conf: Invalid command 'PerlModule', perhaps misspelled or defined by a modul +e not included in the server configuration
OK, so some digging/research shows changes we didn't know we had to make to httpd.conf:Alias /perl/ /cgi-bin/ PerlModule Apache::Registry <Location /perl> SetHandler perl-script PerlHandler Apache::Registry #PerlOptions +ParseHeaders Options ExecCGI FollowSymLinks #Order allow,deny Allow from all #AllowOverride All PerlSendHeader On </Location>
So we made the changes, still getting the same error. So then we commented out everything between the Location tags, thinking there might be some syntax error in there causing problems. Nothing changed. Our limited experience at this point has us asking for help on this as we're not sure what to check out next.PerlModule ModPerl::Registry Alias /perl/ /home/httpd/perl/ <Location /perl> PerlHandler ModPerl::Registry ...
In reply to Apache 2.2.3 not starting, just upgraded to mod_perl2 by ARiccela
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |