httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [Httpd Wiki] Update of "ScratchPad/EnablingCGI" by MarkWatts
Date Sun, 01 Jul 2007 01:41:59 GMT
On 01/07/07, Apache Wiki <wikidiffs@apache.org> wrote:
> 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.

[snip]

> {{{
>       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>
> }}}

No! This method should have died a long long time ago (in fact it did,
just the PHP guys don't seem to have noticed.) The fact that it still
works isn't reason to document it, in the same way Options

If you want a third way, try RewriteRule's [H] flag in 2.2, set to
cgi-script :-)

-- 
noodl

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message