Re: CGI PATH_TRANSLATED variable?

> 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

Received on Wednesday, 22 March 1995 22:26:15 UTC