You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Vincent Bray <no...@gmail.com> on 2007/07/01 03:41:59 UTC
Re: [Httpd Wiki] Update of "ScratchPad/EnablingCGI" by MarkWatts
On 01/07/07, Apache Wiki <wi...@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
Re: [Httpd Wiki] Update of "ScratchPad/EnablingCGI" by MarkWatts
Posted by Mark Watts <m....@eris.qinetiq.com>.
> On 01/07/07, Apache Wiki <wi...@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 :-)
I'd already changed the page before this was written :o)
TBH it can be removed - I hadn't spotted
http://httpd.apache.org/docs/2.0/howto/cgi.html when I wrote it.
Mark.
--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED