httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "ScratchPad/EnablingCGI" by MarkWatts
Date Mon, 02 Jul 2007 08:46:09 GMT
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

The comment on the change is:
http://httpd.apache.org/docs/2.2/howto/cgi.html

------------------------------------------------------------------------------
- = Enabling CGI Scripts (mod_cgi) =
+ deleted
  
- Here are many different ways to allow CGI script execution. The following two are the most
common.
- 
- This is the preferred way of enabling CGI scripts.
- It tells Apache to run any file ending in .cgi as a CGI script through mod_cgi.
- 
- {{{
-       Alias /cgi-bin /var/www/cgi-bin/
-       <Directory /var/www/cgi-bin>
-           AddHandler cgi-script .cgi
-           Options +ExecCGI
-           Order Allow,Deny
-           Allow from all
-       </Directory>
- }}}
- 
- This alternative will make ''any'' file in the /cgi-bin directory be executed as CGI through
mod_cgi.
- 
- {{{
-       ScriptAlias /cgi-bin /var/www/cgi-bin/
-       <Directory /var/www/cgi-bin >
-           Order Allow,Deny
-           Allow from all
-       </Directory>
- }}}
- 

Mime
View raw message