紧急求助..静态问题.
2016-07-07 15:24 来源:www.chinab4c.com 作者:ecshop专家
我刚换了台VM的服务器. 2003系统加6.0IIS 2.62的ECSHOP搞了一个通宵没弄好静态重写. 旧服务器上用过的重写规则..拿到新的不能用..装的都是一样的ISAPI_Rewrite (收费的) 好心人帮帮忙.QQ:33420848 旧服务器上可用的的规则: [ISAPI_Rewrite] # 为了确保重写规则不影响服务器上的其他站点 # 请将下面的语句前的#号去掉,并将(?:www\.)?site1\.com改为商店所在域名 RewriteCond %{HTTP:Host} RewriteRule ^(.*)/index.html$ $1/index.php [I] 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=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I] 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[I] 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[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category.php?id=$2&brand=$3&page=$4[I] RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category.php?id=$2&brand=$3 [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=$3&sort=$4&order=$5[I] RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat.php?id=$2&page=$3 [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=$3&page=$4&sort=$5&order=$6 [I] RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand.php?id=$2&cat=$3&page=$4[I] RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand.php?id=$2&cat=$3[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$ |
回答:
[ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 # Block external access to the httpd.ini and httpd.parse.errors files RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O] # Block external access to the Helper ISAPI Extension RewriteRule .*\.isrwhlp / [F,I,O] |
其实很简单了 |
顶上去。。希望有人帮我 |
现在是首页也不能访问吗? 还有动态地址能访问吗? 装的都是一样的ISAPI_Rewrite (收费的)这个是否已经配置好,还有可以向空间要具体的重写规则 |
最近更新
常用插件
- ecshop选择下单时间插件
ecshop选择下单时间插件主要是根据不同的下单配送要求,在ecshop购物车...
- ecshop快递发货单打印商品
ecshop快递发货单打印商品信息,大家都知道ecshop快递单打印的时候,只能...
- ecshop供应商插件免费下载
ecshop供应商插件免费下载...
- ecshop按分类筛选销售排行
ecshop按分类筛选销售排行...
- ecshop二次开发售后维修卡
插件介绍: 本插件是用于专门从事电子,信息,软件等售后服务关键比...
ecshop热门问答
ecshop热门资料
ecshop首页查询
ecshop自定义
ecshop图片调整
b4c商城程序
ecshop央行
ecshop非会员
ecshopPHP168
ecshop英雄
ecshop期待
手机模板
ecshop可写性
ecshop360京东模版
ecshop我的网站
ecshop新浪微博登录插件
ecshop购物车强化
ecshop独生子女
ecshopvjia模板
ecshop中文版
ecshop童鞋
ecshop扩展名
ecshop卸载uc
ecshop经常性
ecshopGCOGO
ecshop分类flash
ecshop下载图片
ecshop互联网络
ecshop网站打不开
ecshop二进制
ecshop百度蜘蛛
ecshop登录