If you need to run CGI scripts, check the following items:
- Make sure that mod_cgi is being loaded in Apache, the following line must be in httpd.conf:
LoadModule cgi_module modules/mod_cgi.so
- Make sure you have a script alias directive to your cgi-bin directory:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
- Make sure your scripts are executable and that they run by executing ./script.pl or ./script.py