httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] CGI without displaying script in URI
Date Mon, 05 May 2008 12:49:56 GMT
On Mon, May 5, 2008 at 2:59 AM, Justin Jereza <> wrote:
> Hello.
>  How can I configure Apache to make a CGI script respond to all
>  requests to / or any other arbitrary location and all locations under
>  that without showing the name of script in the URI?
>  The best I can do is, I'm trying to
>  configure it so that I'll only need to supply

There are several ways to do this of varying complexity, depending on
how complex your situation is. For example, you could use simply
ScriptAlias / /full/path/to/cgi-bin/gateway.cgi
But this really means EVERY request will go there, so you can't have
any static files (images/css/etc) on the server. If you need more
flexibility, there are a variety of choices including mod_rewrite and
the Action directive.


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