[已关闭问题]
关闭于 2007-12-24 18:39
如题,在同个站点下惟独ZH目录的Rewrite不起作用。<br>所有目录都不是虚拟目录,其他目录也没有做特别配置,为什么偏偏这个ZH无效呢?<br>无效片段如下:<br><RewriterRule><br> <LookFor>~/ZH/([0-9|A-F]{3,10})/default.html</LookFor><br> <SendTo>~/ZH/Company/Default.Aspx?Code=$1</SendTo><br> </RewriterRule><br><RewriterRule><br> <LookFor>~/ZH/A_index.html</LookFor><br> <SendTo><br> <![CDATA[~/ZH/Default.Aspx?SortID=1&Page=1]]></SendTo><br></RewriterRule><br><br>有效片段如下:<br><RewriterRule><br> <LookFor>~/newscontent/([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})/(.+?).html</LookFor><br> <SendTo><![CDATA[~/News/News_Details.aspx?Path=$4]]></SendTo><br> </RewriterRule><br><RewriterRule><br> <LookFor>~/newscontent/comment_([0-9]+)_(.+?).html</LookFor><br> <SendTo><![CDATA[~/News/Review.Aspx?NewsID=$1]]></SendTo><br></RewriterRule><br><br>在本地测试均正常,疑惑中。。。<br><br>
魏冉
|
初学一级
|
园豆:
165
提问于:2007-12-24 11:05