Eric S. Johansson wrote:
> since I know you really want to be helpful, I'm trying to figure out how
> to hide CGI programs from the URL.  I.e. instead of
> http://www.demo.org/mumble.cgi, I want http://www.demo.org/ to execute
> the same CGI program.  I'm currently using the error handler to catch
> the 404 and run the program.  It's a bloody hack but a cool one.

Look at the "ScriptAlias" directive.

> to further wrap your head around the brick of this problem
> http://demo.org/xyzzy/plugh would invoke the same CGI as
> http://demo.org/ but would pass /xyzzy/plugh to the CGI probably as a
> referrer_URL environment variable.

I think that's automatically the case, it's passed in the PATH_INFO
environment variable.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to