Re: CGI PATH_TRANSLATED variable?

Mike Meyer (mwm@contessa.phone.net)
Wed, 22 Mar 1995 22:31:10 +0500


> If I recall correctly, it contains the actual path to the CGI program
> and the PATH_INFO. For example, if you have a URL:
>
> http://host.com/cgi-bin/prog/the/path
>
> that results in the program
>
> /usr/web/cgi-bin/prog
>
> being run with PATH_INFO set to "/the/path", then PATH_TRANSLATED is:
>
> /usr/web/cgi-bin/prog/the/path

Neither NetSite nor NCSA 1.3 behave that way. Given the above URL and
program, they both produce:

/htdocs/the/path

Given that both servers are running with multiple trees, this seems
strange.

> Disclaimer: I never did bother putting this in my server so I may be way
> wrong.

So there is a precedent for what I'm doing. Good.

Thanx,
<mike