lnmp環境下TP3.2.3出現404錯誤解決辦法

找到對應的配置文件 , /usr/local/nginx/conf/vhost/www.conf 然後在 root 下面增加 if (!-e $request_filename) {    rewrite  ^(.*)$  /index.php?s=$1  last;    break;     } 然後重新啓動nginx就可以了,~~ lnmp官網的原來地址   https://bbs.vpse
相關文章
相關標籤/搜索