Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The following page has been changed by MarkWatts:
http://wiki.apache.org/httpd/ScratchPad/EnablingCGI

New page:
= Enabling CGI Scripts (mod_cgi) =

Here are three different ways to allow CGI script execution.

{{{
      Alias /cgi-bin /var/www/cgi-bin/
      <Location /cgi-bin>
          SetHandler cgi-script
          Options +ExecCGI
          Order Allow,Deny
          Allow from all
      </Location>
}}}
{{{
      Alias /cgi-bin /var/www/cgi-bin/
      <Directory /var/www/cgi-bin>
          AddType application/x-httpd-cgi .cgi
          Options +ExecCGI
          Order Allow,Deny
          Allow from all
      </Directory>
}}}
{{{
      ScriptAlias /cgi-bin /var/www/cgi-bin/
      <Directory /var/www/cgi-bin >
          Order Allow,Deny
          Allow from all
      </Directory>
}}}

Reply via email to