I am getting this error message once I added some lines to a directive in my httpd.conf file. I double checked and made sure their weren't any typos
Snytax error line 468 Invlaid command PerlHandler perhaps misspelled or defined by a module not included in the server configuration. Here is what I added ti my httpd.confand now apache won't start. I am using a web interface for my email. I am using Atmail as my web interface for email login
Include etc/apache22/Includes/*.conf
# ADDED BY @Mail Sat Sep 23 07:02:30 2006
AddHandler cgi-script .pl
# ADDED BY @Mail Sat Sep 23 07:02:48 2006
<Directory "/usr/local/atmail/webmail">
Options ExecCGI
AllowOverride All
Order allow,deny
Allow from all
SetHandler perl-script
PerlHandler ModPerl::Registry
</Directory>
<Files ~ "spell.pl$">
SetHandler cgi-script
</Files>
Where should I insert those lines of code at in the httpd.conf file
In searching for your problem, I've found this construct a lot:
<IfDefine !APACHE2>
PerlHandler Apache::Status
</IfDefine>
<IfDefine APACHE2>
PerlResponseHandler Apache::Status
</IfDefine>
So maybye try PerlResponseHandler instead of PerlHandler.
Where should I insert the line of code at in the httpd.conf
I'd suggest replacing
PerlHandler ModPerl::Registry
with
PerlResponseHandler ModPerl::Registry
I am still getting the same error as before
If it's still the same error, then you must still have PerlHandler in there somewhere, otherwise the error would be slightly different.
I will look in the code to see where it is
I am getting the same error only it says PerlResponseHandler
Is apache loading the mod_perl module?
I am not that experience with apache. What could I do to check and see if apache has loaded mod_perl module?
here is some documentation relating to this. Be sure to use the correct version of the documentation, mod_perl has versions 1 and 2 which differ.