|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-26 08:31 UTC] bjori@php.net
[2012-06-26 08:31 UTC] bjori@php.net
-Status: Open
+Status: Not a bug
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 09 00:00:01 2026 UTC |
Description: ------------ server { listen [::]:80; server_name angosso.net www.example.com; access_log /var/www/logs/example.com.access.log; location / { root /var/www/angosso.net; index index.html index.htm index.pl; } location /images { autoindex on; } location ~ \.php$ { fastcgi_pass 96.31.35.28:8172; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/angosso.net$fastcgi_script_name; include fastcgi_params; } } Test script: --------------- Config File \var\www.angosso.net\logs\E:\web\angosso2\account\web.config Expected result: ---------------- <system.webServer> <security> <add accessType="Allow" users="'\var\www\angosso.net\logs\e:\PHP\php-cgi.exe'*" /> php-cgi.exe. Add Role Services config /section:system.webServer/fastCGI ^ /+[fullPath='\war\www\angosso.net\logs\e:\PHP\php-cgi.exe'] <authentication> <anonymousAuthentication enabled="true" userName="IUSR" /> </authentication> </security> </system.webServer> Actual result: -------------- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; serve a non-existent file with a .php extension, it passes the request to php-cgi.