设置伪静态后admin.php就无法访问了,怎么设置admin.php不重写

浏览:1429 发布日期:2015/04/21 分类:求助交流

ngnix的,我的重写规则,怎么让后台不重写,不要说使用分组了location / {
 root /a/domains/xeepi/public_html/;
 index index.html index.htm index.php;
 if (!-e $request_filename) {
 rewrite ^/index.php(.*)$ /index.php?s=$1 last;
 rewrite ^(.*)$ /index.php?s=$1 last;
 break;
 }
 }
最佳答案
评论( 相关
后面还有条评论,点击查看>>