Forum Moderators: phranque
httpd.conf in both servers
LoadModule suexec_module modules/mod_suexec.so
LoadModule cgi_module modules/mod_cgi.so
AddHandler cgi-script .cgi .pl (or AddHandler cgi-script cgi pl)
<VirtualHost *:80>
<Directory /home/user/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
Allow from all
<Directory /home/user/public_html/search>
Options Indexes FollowSymLinks +ExecCGI
# or
Options Indexes FollowSymLinks ExecCGI
</Directory>
</Virtualhost>
These are the four last lines of /etc/httpd/logs/error_log
(just restarting Apache)
[Sun Jul 06 21:21:18 2008] [notice] caught SIGTERM, shutting down
[Sun Jul 06 21:21:18 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 06 21:21:18 2008] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 06 21:21:18 2008] [notice] Digest: done
[Sun Jul 06 21:21:18 2008] [notice] Apache/2.2.8 (Unix) PHP/5.2.6 configured -- resuming normal operations
Thank you in advance for any help
[Wed Jul 09 11:47:30 2008] [notice] caught SIGTERM, shutting down
[Wed Jul 09 11:47:31 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jul 09 11:47:31 2008] [notice] Digest: generating secret for digest authentication ...
[Wed Jul 09 11:47:31 2008] [notice] Digest: done
[Wed Jul 09 11:47:32 2008] [notice] Apache/2.2.8 (Unix) PHP/5.2.6 configured -- resuming normal operations