ecshop urlrewriteルール


ecshop2.6.2_beta 1版urlrewriteやっと問題なく1部保存
 
======================
今日rssのurlが使えないことを発見して、自分で文をプラスしました
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html(.*)$ $1/goods\.php\?id=$2 [NC]
 
私の完全なurlrewriteは以下の通りです:(httpd.rarをダウンロードして直接使用することができます)あなたはwww.i123.cnのテストにアクセスすることができて、私はこのウェブサイトでテストを行いました
# Helicon ISAPI_Rewrite configuration file


# Version 3.1.0.60





RewriteEngine On


RewriteCompatibility2 On


RepeatLimit 200


RewriteBase 


# unsupported directive: [ISAPI_Rewrite]





# RewriteCond %{HTTP:Host} (?:www\.)?site1\.com





RewriteCond %{{HTTP:Host}} ^www.i123.cn$


RewriteRule ^(.*)/index.html$ $1/index\.php [NC]


RewriteRule ^(.*)/category$ $1/index\.php [NC]


RewriteRule ^(.*)/feed-c([0-9]+).xml$ $1/feed\.php\?cat=$2 [NC]


RewriteRule ^(.*)/feed-b([0-9]+).xml$ $1/feed\.php\?brand=$2 [NC]


RewriteRule ^(.*)/feed.xml$ $1/feed\.php [NC]


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=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [NC]


RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6 [NC]


RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6 [NC]


RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4 [NC]


RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3 [NC]


RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2 [NC]





RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)\.html(.*)$ $1/category\.php\?$4&id=$2&brand=$3





RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html(.*)$ $1/goods\.php\?id=$2 [NC]


RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2 [NC]


RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5 [NC]


RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3 [NC]


RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2 [NC]


RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$ $1/article\.php\?id=$2 [NC]


RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html$ $1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6 [NC]


RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3&page=$4 [NC]





RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)\.html(.*)$ $1/brand\.php\?$4&id=$2&cat=$3 [NC]





RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html$ $1/brand\.php\?id=$2&cat=$3 [NC]


RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$ $1/brand\.php\?id=$2 [NC]


RewriteRule ^(.*)/tag-(.*)\.html$ $1/search\.php\?keywords=$2 [NC]


RewriteRule ^(.*)/snatch-([0-9]+)\.html$ $1/snatch\.php\?id=$2 [NC]


RewriteRule ^(.*)/group_buy-([0-9]+)\.html$ $1/group_buy\.php\?act=view&id=$2 [NC]


RewriteRule ^(.*)/auction-([0-9]+)\.html$ $1/auction\.php\?act=view&id=$2 [NC]


RewriteRule ^(.*)/exchange-id([0-9]+)(.*)\.html$ $1/exchange\.php\?id=$2&act=view [NC]


RewriteRule ^(.*)/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2&integral_min=$3&integral_max=$4&page=$5&sort=$6&order=$7 [NC]


RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2&page=$3&sort=$4&order=$5 [NC]


RewriteRule ^(.*)/exchange-([0-9]+)-([0-9]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2&page=$3 [NC]


RewriteRule ^(.*)/exchange-([0-9]+)(.*)\.html$ $1/exchange\.php\?cat_id=$2 [NC]