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; }