Allowing CGIs to Execute in Any Directory
To allow CGIs to execute in any directory on your web server do the following:
- Uncomment out the following AddHandler directive in the ~/www/conf/httpd.conf file on your VPS:
AddHandler cgi-script .cgi
You may want to add a Handler for perl scripts:
AddHandler cgi-script .pl
- Add an ExecCGI option to the Options for your Root Document declaration
(<Directory /usr/local/etc/httpd/htdocs>) in the ~/www/conf/httpd.conf file on your VPS:
Options Indexes FollowSymLinks ExecCGI
- Restart your web server:
% restart_apache
|
|