Ecmall iis 伪静态规则

貌似按照官方的伪静态操作方法在iis不起作用,于是对官方伪静态规则进行了修改,问题得到解决。 官方给的伪静态规则如下: -----内容开始,不要复制本行----- [ISAPI_Rewrite] # 为了确保重写规则不影响服务器上的其他站点 # 请将下面的语句前的#号去掉,并将(?:www\.)?site1\.com改为商店所在域名 #RewriteCond %{HTTP:Host} (?:www\.)?site1\.com RewriteRule ^goods/([0-9]+)/?$ index.php?app=goods&id=$1 [I] RewriteRule ^goods/([0-9]+)/([^/]+)/?$ index.php?app=goods&id=$1&act=$2 [I] RewriteRule ^goods/([0-9]+)/([^/]+)/page_([^/]+)/?$ index.php?app=goods&id=$1&act=$2&page=$3 [I] RewriteRule ^groupbuy/([0-9]+)/?$ index.php?app=groupbuy&id=$1 [I] RewriteRule ^category/goods/?$ index.php?app=category [I] RewriteRule ^category/(.*)/?$ index.php?app=category&act=$1 [I] RewriteRule ^brand/?$ index.php?app=brand [I] RewriteRule ^article/([0-9]+).html$ index.php?app=article&act=view&article_id=$1 [I] RewriteRule ^store/([0-9]+)/?$ index.php?app=store&id=$1 [I] RewriteRule ^store/article/([0-9]+).html$ index.php?app=store&act=article&id=$1 [I] RewriteRule ^store/([0-9]+)/credit/?$ index.php?app=store&id=$1&act=credit [I] RewriteRule ^store/([0-9]+)/credit/page_([^/]+)/?$ index.php?app=store&id=$1&act=credit&page=$2 [I] RewriteRule ^store/([0-9]+)/credit/([0-9]+)/?$ index.php?app=store&id=$1&act=credit&eval=$2 [I] RewriteRule ^store/([0-9]+)/credit/([0-9]+)/page_([^/]+)/?$ index.php?app=store&id=$1&act=credit&eval=$2&page=$3 [I] RewriteRule ^store/([0-9]+)/goods/?$ index.php?app=store&id=$1&act=search [I] RewriteRule ^store/([0-9]+)/goods/page_([^/]+)/?...

2014-06-12 08:44:23 · 王二