首页 新闻 会员 周边

IIS URL重写模块的问题

0
悬赏园豆:20 [待解决问题]
<rule name="UrlRe1" enabled="true" stopProcessing="false">
<match url="([a-zA-Z|0-9]+).domain.com" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{HTTP_HOST}" pattern="([a-zA-Z|0-9]+).domain.com/([^/]*(.*))" />
</conditions>
<action type="Rewrite" url="/PageFile/{C:1}/{C:2}" logRewrittenUrl="true" />
</rule>


想通过URL重写实现二级域名 但是这个规则并没有生效 不知道问题出在哪

问题补充:

http://abc.domain.com/m/index.html 

指向的还是http://www.domain.com/m/index.html 

不是预想的http://www.domain.com/abc/m/index.html 

。NET初级程序员的主页 。NET初级程序员 | 初学一级 | 园豆:6
提问于:2014-04-03 18:06
< >
分享
所有回答(1)
0

问题已解决,似乎是IIS有缓存  

。NET初级程序员 | 园豆:6 (初学一级) | 2014-04-11 17:59
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册