ID: 42523
Comment by: w dot ashcroft at redfoxuk dot com
Reported By: tkeese at yahoo dot com
Status: Open
Bug Type: CGI related
Operating System: WinXP/IIS 5.1
PHP Version: 5.2.4
New Comment:
...on another note DOCUMENT_ROOT is now being set correctly, it always
used to be empty.
Previous Comments:
------------------------------------------------------------------------
[2007-09-03 17:49:30] w dot ashcroft at redfoxuk dot com
Looks like these bugfixes may have broken it:
http://bugs.php.net/bug.php?id=31892http://bugs.php.net/bug.php?id=42198
------------------------------------------------------------------------
[2007-09-03 17:44:31] tkeese at yahoo dot com
I am using the default CGI configuration from the Win32 installer.
cgi.check_shebang_line 1 1
cgi.fix_pathinfo 0 0
cgi.force_redirect 0 0
cgi.nph 0 0
cgi.redirect_status_env no value no value
cgi.rfc2616_headers 0 0
fastcgi.impersonate 0 0
fastcgi.logging 1 1
From phpinfo() output (5.2.4):
_SERVER["PHP_SELF"] /baseapp/test/p.php/baseapp/test/p.php
From phpinfo() output (5.2.3) using same configuration as above:
_SERVER["PHP_SELF"] /baseapp/test/p.php
------------------------------------------------------------------------
[2007-09-03 17:41:28] w dot ashcroft at redfoxuk dot com
Hello,
Got the exact same problem here, using standard CGI with these
settings:
cgi.fix_pathinfo = 1
cgi.force_redirect = 0
fastcgi.impersonate = 1
cgi.fix_pathinfo = 0 does not fix the problem.
Problem did not exist in 5.2.3 and is causing lots of headaches for our
customers on our servers.
------------------------------------------------------------------------
[2007-09-03 08:20:31] jani@php.net
How have you configure PHP in IIS? What values do your cgi.* directives
have? What query causes this?
------------------------------------------------------------------------
[2007-09-02 23:25:12] tkeese at yahoo dot com
Description:
------------
Path appears to be duplicated.
echo $_SERVER['PHP_SELF'];
Output:
/baseapp/myapp/progs/p.php/baseapp/myapp/progs/p.php
Expected:
/baseapp/myapp/progs/p.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42523&edit=1