atom feed20 messages in ru.sysoev.nginxRe: why my php file in subdirectory d...
FromSent OnAttachments
baalchinaSep 27, 2011 7:55 pm 
Simon LiuSep 27, 2011 8:02 pm 
suttlesOct 11, 2011 7:52 am 
Simon LiuOct 11, 2011 8:16 am 
suttlesOct 11, 2011 8:21 am 
Simon LiuOct 11, 2011 8:40 pm 
suttlesOct 12, 2011 11:19 am 
suttlesOct 17, 2011 9:19 am 
gigabyteJan 5, 2012 11:36 pm 
Ian HobsonJan 6, 2012 2:30 am 
Edho AriefJan 6, 2012 2:36 am 
gigabyteJan 6, 2012 3:38 am 
Edho AriefJan 6, 2012 3:40 am 
gigabyteJan 6, 2012 4:25 am 
Edho AriefJan 6, 2012 4:47 am 
gigabyteJan 6, 2012 5:45 am 
Edho AriefJan 6, 2012 5:48 am 
gigabyteJan 6, 2012 6:01 am 
Edho AriefJan 6, 2012 6:06 am 
gigabyteJan 6, 2012 6:23 am 
Subject:Re: why my php file in subdirectory doesn't work?
From:gigabyte (ngin@nginx.us)
Date:Jan 5, 2012 11:36:26 pm
List:ru.sysoev.nginx

I have the same problem with subdirectories. My config Is: set $sroot /usr/local/www/ location ~ \.php$ { include /usr/local/etc/nginx/fastcgi_params; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $sroot/$fastcgi_script_name ; fastcgi_param QUERY_STRING $query_string; fastcgi_pass 127.0.0.1:9000; fastcgi_intercept_errors on; break; }

location / { root $sroot ; index index.php; }

By the way I think it all happend when I've upgraded from nginx 0.9 to 1.0.11. I think that my original configs had been replaced with new ones.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,215921,220863#msg-220863