帝国WAP模板绑定了二级域名之后,实现伪静态规则的方法如下:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)index.html$ $1index.PHP
RewriteRule ^(.*)list-([0-9]+)-([0-9]+).html$ $1list.PHP?classid=$2&page=$3
RewriteRule ^(.*)show-([0-9]+)-([0-9]+).html$ $1show.PHP?classid=$2&id=$3