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

2016-07-07 15:45 来源:www.chinab4c.com 作者:ecshop专家

ecshop2.62在IIS中最新的伪静态规则
已经测试完整:
IIS的伪静态演示站:http://www.51szb.com/

伪静态规则:

  1. #ecshop
  2. RewriteRule ^(.*)/category$$1/index.php [I]
  3. RewriteRule ^(.*)/feed-c([0-9]+)\.xml$ $1/feed.php?cat=$2 [I]
  4. RewriteRule ^(.*)/feed-b([0-9]+)\.xml$ $1/feed.php?brand=$2 [I]
  5. RewriteRule ^(.*)/feed.xml$$1/feed.php [I]
  6. 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]
  7. 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]
  8. 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]
  9. RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category.php?id=$2&brand=$2&page=$3[I]
  10. RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category.php?id=$2&brand=$2[I]
  11. RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$$1/category.php?id=$2[I]
  12. RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$$1/goods.php?id=$2 [I]
  13. RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/article_cat.php?id=$2&page=$2&sort=$3&order=$4[I]
  14. RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat.php?id=$2&page=$2[I]
  15. RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat.php?id=$2[I]
  16. RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$$1/article.php?id=$2[I]
  17. 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]
  18. RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand.php?id=$2&cat=$2&page=$3 [I]
  19. RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand.php?id=$2&cat=$2 [I]
  20. RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$1/brand.php?id=$2 [I]
  21. RewriteRule ^(.*)/tag-(.*)\.html$1/search.php?keywords=$2 [I]
  22. RewriteRule ^(.*)/snatch-([0-9]+)\.html$ $1/snatch.php?id=$2 [I]
  23. RewriteRule ^(.*)/group_buy-([0-9]+)\.html$ $1/group_buy.php?act=view&id=$2 [I]
  24. RewriteRule ^(.*)/auction-([0-9]+)\.html$$1/auction.php?act=view&id=$2 [I]
  25. RewriteRule ^(.*)/exchange-id([0-9]+)(.*)\.html$$1/exchange.php?id=$2&act=view [I]
  26. 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]
  27. RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange.php?cat_id=$2&page=$2&sort=$3&order=$4 [I]
  28. RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)(.*)\.html$$1/exchange.php?cat_id=$2&page=$2[I]
  29. RewriteRule ^(.*)/exchange-([0-9]+)(.*)\.html$$1/exchange.php?cat_id=$2[I]
复制代码

回答:
看论坛有人找我就放出来了 是IIS用的

怎么用啊?放到哪里

怎么用啊?放到哪里
cch585 发表于 2009-3-4 23:26


服务器设置那里,可以叫你的空间服务商加进去

天使湾时尚 支持你!

空间商好像不管这个吧

会用了 :)

不错,很好。加分

太好了啊,楼主好人啊,
测试通过了吗,会不会出错啊!

这。。到底该如何使用啊

2.61可以用吗?LZ能不能指点下 我在服务器上怎么操作?

很不错的东西

独立服务器,自己的服务器怎么搞?03+IIS