I have reinstalled apache but unable to make it work.
Initially there were these two entries and it was giving some
error.
DocumentRoot "/home/httpd/html""
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/""
I removed the extra " at the end and now it is giving following
error:
Syntax error on line 405 of /etc/httpd/conf/httpd.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
not included in the server configuration
following is the relevant extract from httpd.conf file.
---------------------------------
DocumentRoot "/home/httpd/html"
ErrorLog /var/log/httpd/error_log
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
User nobody
Group nobody
Options ExecCgi
<IfModule mod_mime_magic.c>
MIMEMagicFile share/magic
</IfModule>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
</IfModule>
<IfModule mod_perl.c>
Alias /perl/ /home/httpd/perl/
</IfModule>
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry (giving error
here)
Options +ExecCGI
</Location>
<Location /doc>
order deny,allow
deny from all
allow from localhost
Options Indexes FollowSymLinks
</Location>