该帝国cms7.5Apache下的.htaccess伪静态规则写法,已经测试通过,可以正常使用。如下:
RewriteEngine On Rewritebase / #信息内容页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 #信息列表 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^listinfo-([0-9]+)-([0-9]+).html$ /e/action/ListInfo/index.php?classid=$1&page=$2 #标题分类列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^infotype-([0-9]+)-([0-9]+).html$ /e/action/InfoType/index.php?ttid=$1&page=$2 #TAGS信息列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tags-(.+?)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 #评论列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6