[7695] in www-talk@info.cern.ch
Re: CGI PATH_TRANSLATED variable?
daemon@ATHENA.MIT.EDU (Mike Meyer)
Wed Mar 22 22:43:43 1995
Date: Wed, 22 Mar 1995 22:42:13 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: mwm@contessa.phone.net
From: mwm@contessa.phone.net (Mike Meyer)
To: Multiple recipients of list <www-talk@www10.w3.org>
> 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