重写成
http://127.0.0.1/bbs/abc.php
或都
http://127.0.0.1/bbs/abc.php
重写成
http://127.0.0.1/bbs/abc.html
回复讨论(解决方案)
nginx下的 你试试行不 不行当没说
rewrite ^/bbs/([0-9a-z]+).html$ /bbs/$1.php last;
nginx下的 你试试行不 不行当没说
rewrite ^/bbs/([0-9a-z]+).html$ /bbs/$1.php last;
非常感谢你的帮助,问题解决了。40分全部你您,查一下。
php入门到就业线上直播课:查看学习
前端(VUE)零基础到就业课程:点击学习
自己动手写 PHP MVC 框架:点击学习
![](http://m.sbmmt.com/img/upload/article/000/000/020/633501a29d313483.png)