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
以上就介绍了nginx支持url的PATHINFO,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。