[thelist] Apache/Win32 not setting SCRIPT_NAME properly
Oliver Lineham
oliver at lineham.co.nz
Tue Oct 24 05:08:06 CDT 2000
Hi all,
Has anyone else heard of a problem where Apache/Win32 doesn't set the
script_name variable properly?
script_name is supposed to hold the path portion of the URL, excluding the
query string.
e.g. http://localhost/index.cfm?foo=bar
script_name = "/index.cfm"
e.g. http://localhost/index.cfm/foo/bar
script_name = "/index.cfm/foo/bar"
Apache for Win32 sets the last example to "/index.cfm" instead.
Other OS distros of Apache don't seem to be affected. This isn't a CF
problem, as I've had the same trouble in PHP and Perl scripts.
It's a right pain when trying to develop and locally test query-stringless
sites (that can be indexed by search engines).
Any ideas?
</ol>
____________________________________________________
v i b e m e d i a http://www.vibe.co.nz/
po box 10-492 wellington, new zealand
phone +64 21 210-7845 oliver at lineham.co.nz
More information about the thelist
mailing list