路由跳转问题,跳转到/.php

浏览:892 发布日期:2018/09/08 分类:求助交流
输入网址跳转到404/.php/Home/Login/index.htmlnginx1.4配置的伪静态location / {
    if (!-e $request_filename) {
    rewrite ^/index.php(.*)$ /index.php?s=$1 last;
    rewrite ^(.*)$ /index.php?s=$1 last;
    break;
    }
}
最佳答案
评论() 相关
后面还有条评论,点击查看>>