httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject RE: chdir isn't thead specific
Date Thu, 07 May 1998 18:41:51 GMT
Er, SCRIPT_FILENAME then, which is apache specific though... but it's set
to the same value which is passed to chdir_file().


On Thu, 7 May 1998, Andy Finkenstadt wrote:

> Definitely water under the bridge.  Every script I write has a standard
> template, and it assumes that `pwd` returns the current directory of the
> script itself.  There's no PATH_TRANSLATED for any script that doesn't have
> additional /path/components, and SCRIPT_NAME is in URI form, not an absolute
> pathname, so scripts that are mod_rewritten, or ScriptAliased, or in a
> user's directory don't have an Absolut path to the script.
> Andy
> -----Original Message-----
> From: [] On
> Behalf Of Ben Hyde
> Sent:	Wednesday, May 06, 1998 5:44 PM
> To:
> Subject:	Re: chdir isn't thead specific
> >The CGI "spec" doesn't *require* the current directory to be changed in
> >this arcane manner.
> Well that's water under the bridge.  The spec is probably out of
> synch with practical reality at this point.

View raw message