httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Watts <m.wa...@eris.qinetiq.com>
Subject Re: [Httpd Wiki] Update of "ScratchPad/EnablingCGI" by MarkWatts
Date Mon, 02 Jul 2007 08:40:23 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 :-)

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

Mime
View raw message