httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stillwell <>
Subject Re: [users@httpd] "Script GET /cgi-bin/foo" doesn't apply to all GET requests
Date Thu, 31 Dec 2009 17:19:09 GMT
On Thu, Dec 31, 2009 at 2:31 PM, André Warnier <> wrote:
> Michael Stillwell wrote:
>> The documentation at
>> says that "Script with a method of GET will only be called if there are
>> query arguments present."  Is there any way to work around this limitation?
>>  I would like a GET request for e.g.
>> to be passed through to the specified CGI script irrespective of whether
>> query arguments are present or not.
> Just don't use the Script directive then.
> ScriptAlias /cgi-bin/ /var/www/cgi-bin/
> <Directory /var/www/cgi-bin>
>  Options ExecCGI
> </Directory>
> will allow any file within that directory to be executed as a CGI script, no
> matter the method or the arguments.
> Just make sure that what you put there is safe.

I didn't mention this in my original email, but I would like to call
different scripts depending on the method.  e.g. GET.php for GET,
PUT.php for PUT.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message