W3C home > Mailing lists > Public > www-talk@w3.org > March to April 1995

Re: CGI PATH_TRANSLATED variable?

From: Mike Meyer <mwm@contessa.phone.net>
Date: Wed, 22 Mar 95 19:17:34 PST
Message-Id: <19950322.745E510.115DF@contessa.phone.net>
To: 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
Received on Wednesday, 22 March 1995 22:26:15 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:16 UTC