fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO       $path_info;

或者

fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
include fastcgi_params;


支持thinkphp的url模式3、1



版权声明:本文为博主原创文章,未经博主允许不得转载。

posted on 2015-06-06 17:54  鸟叔手擒大数据  阅读(186)  评论(0编辑  收藏  举报