登录站点

用户名

密码

注册

查看日志|返回日志列表

ecshop2.62在IIS中最新的伪静态规则

标签category  RewriteRule  php  index  2009-03-05 10:43
RewriteRule ^(.*)/category$      $1/index.php [I]
RewriteRule ^(.*)/feed-c([0-9]+)\.xml$       $1/feed.php?cat=$2 [I]
RewriteRule ^(.*)/feed-b([0-9]+)\.xml$       $1/feed.php?brand=$2 [I]
RewriteRule ^(.*)/feed.xml$                  $1/feed.php [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^(.*)/-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$  $1/category.php?id=$2&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^(.*)/-]*)(.*)\.html$                            $1/category.php?id=$2&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$                                      $1/category.php?id=$2&brand=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$                                                       $1/category.php?id=$2&brand=$2&page=$3  [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$                                                                $1/category.php?id=$2&brand=$2  [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$                                                                          $1/category.php?id=$2  [I]
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$  $1/goods.php?id=$2 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$  $1/article_cat.php?id=$2&page=$2&sort=$3&order=$4  [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$                   $1/article_cat.php?id=$2&page=$2   [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$                            $1/article_cat.php?id=$2   [I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$                                $1/article.php?id=$2   [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html   $1/brand.php?id=$2&cat=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html                $1/brand.php?id=$2&cat=$2&page=$3 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html                         $1/brand.php?id=$2&cat=$2 [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html                                   $1/brand.php?id=$2 [I]
RewriteRule ^(.*)/tag-(.*)\.html                                             $1/search.php?keywords=$2 [I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$                                     $1/snatch.php?id=$2 [I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$                                  $1/group_buy.php?act=view&id=$2 [I]
RewriteRule ^(.*)/auction-([0-9]+)\.html$                                    $1/auction.php?act=view&id=$2 [I]
RewriteRule ^(.*)/exchange-id([0-9]+)(.*)\.html$                             $1/exchange.php?id=$2&act=view [I]
RewriteRule ^(.*)/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange.php?cat_id=$2&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$     $1/exchange.php?cat_id=$2&page=$2&sort=$3&order=$4 [I]
RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)(.*)\.html$            $1/exchange.php?cat_id=$2&page=$2  [I]
RewriteRule ^(.*)/exchange-([0-9]+)(.*)\.html$                     $1/exchange.php?cat_id=$2  [I]
分享 544 次阅读 | 0 个评论

留下脚印

评论