|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-05-30 22:08 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
To clarify: in nginx.conf you have root: ../files and in php.ini you have set doc_root to the absolute path of that root? This works for me; either the issue has been fixed in the meantime, or I'm missing something. Please clarify.