>location ~ ^(.+\.php)(.*)$ { >fastcgi_split_path_info ^(.+\.php)(.*)$; >fastcgi_param SCRIPT_FILENAME /path/to/php$fastcgi_script_name; >fastcgi_param PATH_INFO $fastcgi_path_info; Works like a charm, but I need to include: fastcgi_param SCRIPT_NAME $fastcgi_script_name; Thank you Igor. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,1549,2142#msg-2142