[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] the directory where the script is running



At 10.07 -0400 1999.05.20, Bart Lateur wrote:
>Both exist on my server. $ENV{SCRIPT_NAME} is the script's name,
>relative to the webspace. $ENV{SCRIPT_FILENAME} is the script's name
>relative to my server's filesystem. For example, the script "env.cgi"
>(which tests the environment variables) is in the root on my webspace,
>and the values for these environment variables are:
>
>	SCRIPT_FILENAME 	/export/web/Customers/cdc/env.cgi
>	SCRIPT_NAME     	/env.cgi

Ah, confirmed.  Apache gives SCRIPT_FILENAME, Netscape does not (in my
versions).  Further discussion to go to macperl-webcgi.  :)

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org