php and urls with /?xxx

Salem nginx-forum at nginx.us
Fri Nov 18 23:31:51 UTC 2011


Ahoi,

at the moment i use a "location \.php {}" block for opening php-files
through fastcgi_pass. But what's the right way for
calls like www.xxx.xxx/?xxx=xxx ?

For Wordpress-Urls like /index.php/xxx/ 
try_files $uri $uri/ /index.php?q=$request_uri;
works fine, but for /?

Thank you!

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



More information about the nginx mailing list