phpwind伪静态规则(iis,nginx,apache)-kb88凯时官网登录

时间:2018-09-01
阅读:
免费资源网 - https://freexyz.cn/

phpwind iis下伪静态规则:

rewriterule ^(.*)/(.*)-htm-(.*)-(.*).html$ $1/$2.php?$3=$4
rewriterule ^(.*)/read-htm-tid-(.*).html$ $1/read.php?tid=$2
rewriterule ^(.*)/thread-htm-fid-(.*).html$ $1/thread.php?fid=2
rewriterule ^(.*)/simple/([a-z0-9_] .html)$ $1/simple/index.php?$2

phpwind apache下伪静态规则:

rewriteengine on
rewriterule ^(.*)/thread-htm-tid-(d )-(.*).html $1/thread.php?fid=$2
rewriterule ^(.*)/read-htm-tid-(d )-(.*).html $1/read.php?tid=$2
rewriterule ^(.*)/commtopics-(d )-(.*)$ $1/thread.php?fid=$2&page=$3
rewriterule ^(.*)/commtopics-(.*)$ $1/thread.php?fid=$2&page=$3
rewriterule ^(.*)/article-(d )-(d )-(.*).html$ $1/read.php?tid=$2&page=$3&fpage=$4
rewriterule ^(.*)/article-(d )-(.*).html$ $1/read.php?tid=$2&page=$3
rewriterule ^(.*)/article-(.*).html$ $1/read.php?tid=$2
rewriterule ^(.*)-htm-(.*)$ $1.php?$2
rewriterule ^(.*)/simple/([a-z0-9_] .html)$ $1/simple/index.php?$2

phpwind nginx下伪静态规则:

location / {
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
rewrite ^(.*)/simple/([a-z0-9_] .html)$ $1/simple/index.php?$2 last;
}
免费资源网 - https://freexyz.cn/
返回顶部
顶部
网站地图