fastcgi server variables vs. apache

androo nginx-forum at nginx.us
Wed Apr 8 07:02:24 MSD 2009


Brilliant! Many thanks. --Androo


Since version 0.7.31 use may use fastcgi_split_path_info:

location ~ ^(.+\.php)(.*)$ {

fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param SCRIPT_FILENAME /path/to/php$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
...
}


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


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






More information about the nginx mailing list