Ano-Tech Computers
Enter keyword:

Configuring Apache webserver to allow CGI scripts
Problem:
This article describes how to configure Apache to allow execution of user CGI scripts. It may not apply to all versions of Apache.
 
Solution:
1. Edit srm.conf to install for cgi script handler:
AddHandler cgi-script .cgi
2. Edit access.conf to allow ExecCGI:
Options ExecCGI

Some Apache installations use "unified setup", in this case you'll find the aforementioned directives in the main server config file, httpd.conf.

 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles