Home  >  Article  >  Backend Development  >  php 伪静态 大家帮帮小弟我

php 伪静态 大家帮帮小弟我

WBOY
WBOYOriginal
2016-06-13 11:48:53759browse

php 伪静态 大家帮帮我
RewriteRule ^img/([0-9]+).html?p=(.*)$ img.php?id-$1.html&p=$2

不是伪静态的意见可以访问

我要的效果
123.com/img/6.html?p=1

我觉得我弄对了 为什么提示404


------解决方案--------------------
RewriteRule ^img/([0-9]+).html?p=([1-9]+)$ img.php?id-$1.html&p=$2

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn