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教程有興趣的朋友有幫助。