Edit report at https://bugs.php.net/bug.php?id=54955&edit=1

 ID:                 54955
 Comment by:         marc dot fauser+php at gmail dot com
 Reported by:        johanntrg at msn dot com
 Summary:            FastCGI doesn't recognize Windows relative paths
 Status:             Open
 Type:               Bug
 Package:            CGI/CLI related
 Operating System:   Windows 7 64bits SP1
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

I have the same problem since months. I would even pay money to get this bug 
fixed. So far you can "solve" it by using mklink.

e.g.
mklink /J files ..\files


Previous Comments:
------------------------------------------------------------------------
[2011-05-30 22:08:30] johanntrg at msn dot com

Description:
------------
I have configured my webserver (nginx) to have its document root out of its 
working path in "..\files" (please, note the two dots). When I request static 
files, it serves them without any problem. Anyway If I request a PHP file, the 
request it's not served because php-cgi.exe running as the fastCGI server al 
127.0.0.1:9000 returns an error 400 code.

If I user absolute paths it works. Also, if I move the "..\files" folder to 
"./files" (please, note the only one dot) and I change the document root to 
reflect that new relative path.

So It looks that relative paths with two dots are not getting resolved by php-
cgi.exe as fastCGI server.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=54955&edit=1

Reply via email to