www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jürgen" Hermann ...@schiele-ct.de>
Subject mod_cgi/1507: Differences to UNIX in SCRIPT_NAME and PATH_INFO cgi vars
Date Wed, 03 Dec 1997 13:52:40 GMT

>Number:         1507
>Category:       mod_cgi
>Synopsis:       Differences to UNIX in SCRIPT_NAME and PATH_INFO cgi vars
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec  3 06:00:00 PST 1997
>Originator:     jh@schiele-ct.de
>Release:        1.3b3/WinNT
Win/NT 4.0 Service Pack 3
Using the cgi-bin scripts below, the following differences 
appear in the output:

Using /cgi-bin/env.sh/foo/bar/UPPER you get

Using /cgi-bin/env.bat/foo/bar/UPPER you get

Problems with 1.3b3 on NT:
1. PATH_INFO is lower-case
2. SCRIPT_NAME is too long (should be /cgi-bin/env.bat)

Is that intentional? It broke my cgi-bin, and I think that's
true for other scripts as well.

Thanks for your efforts.
> cat env.sh
echo "Content-Type: text/plain"

Make environment as similar to Unix as possible
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

>type env.bat
@echo Content-Type: text/plain

View raw message