永久黄网站色视频免费直播,yy6080三理论日本中文,亚洲无码免费在线观看视频,欧美日韩精品一区二区在线播放
標題:
[求助]
wdCP v3.2.13下的thinkphp5的pathinfo怎么開啟?
[打印本頁]
作者:
heimao2001
時間:
2017-10-9 15:07
標題:
wdCP v3.2.13下的thinkphp5的pathinfo怎么開啟?
如題,怎么開啟pathinfo? 我試了網(wǎng)上一大堆教程,都不行。真是令人蛋疼啊!
作者:
lnlingyuan
時間:
2017-10-27 08:57
樓主解決了么
作者:
jiangyouhong
時間:
2018-6-19 22:41
修改為:server {
listen 80;
root /home/wwwroot/fangwei/public_html/public;
server_name www.xxx.com;
index index.php;
error_page 400 /errpage/400.html;
error_page 403 /errpage/403.html;
error_page 404 /errpage/404.html;
error_page 503 /errpage/503.html;
location ~ \.php(.*)$ {
fastcgi_pass unix:/tmp/php-56-cgi.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
location / {
try_files $uri $uri/ /?$args;
}
}
歡迎光臨 WDlinux官方論壇 (http://www.fsowen.com/bbs/)
Powered by Discuz! 7.2