[7694] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

CGI PATH_TRANSLATED variable?

daemon@ATHENA.MIT.EDU (George Phillips)
Wed Mar 22 21:14:04 1995

Date: Wed, 22 Mar 1995 21:12:08 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: phillips@cs.ubc.ca
From: George Phillips <phillips@cs.ubc.ca>
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

Rob McCool had some pretty good sounding use for this, but I don't
remember what it was and a fairly quick perusal of the www-talk archives
didn't turn up much.

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


home help back first fref pref prev next nref lref last post