You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2003/08/27 00:06:04 UTC

Re: [users@httpd] How to map several actions to one single cgi script?

On Tue, 26 Aug 2003, hu wei wrote:

>
> Hi:
>
> How to map several actions to one single cgi script?
>
> e.g.
>
> www.xx.com/cgi-bin/x?...
>
> www.xx.com/cgi-bin/y?...
>
> Both x and y will call the same cgi script.

ScriptAlias /cgi-bin/x /full/path/to/cgi-bin/y

Make sure to list that before the existing ScriptAlias or it will be
ignored.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org