访问:http://a.com.cn/index.php?s=b/index/hi.html变成:http://a.com.cn/bb/index.php?m=index&n=hi
http://a.com.cn/index.php?s=b/index/hi.html
http://a.com.cn/bb/index.php?m=index&n=hi
重写规则:rewrite "^/index.php?s=b/(.)/(.).html$" /bb/index.php?m=$1&n=$2 last;
但是不好用,没看出问题出在哪.....
相关分类