[thelist] Apache/Win32 not setting SCRIPT_NAME properly

Seth Bienek seth at sethbienek.com
Tue Oct 24 10:39:42 CDT 2000

Hi Ol,

This is a confirmed "bug" in the release of Apache you mentioned.
Ironically enough, It raised some hullabaloo on the "thesite" list because
it was causing some problems implementing the FormURL2Attributes custom tag
that you are likely working with. :)

We worked around it, and then I think Dan located a patch (or new Apache
release?) for it a couple of weeks ago.  The patch fixed the bug, but
unravelled our workaround.

I'm not the Apache guy, so I can't really point you in the direction of the
patch, and I couldn't locate the thread in the "thesite" archives, but maybe
someone else can?


Seth Bienek
Solutions Development Manager
Stonebridge Technologies, Inc.
972.455.7294 tel
972.404.9754 fax

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Oliver Lineham
> Sent: Tuesday, October 24, 2000 5:08 AM
> To: thelist at lists.evolt.org
> Subject: [thelist] Apache/Win32 not setting SCRIPT_NAME properly
> 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
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list