http://localhost:4885/XiaLongV2/B_newsdetail.html?tag=%2763318DDE-7371-41CB-8920-55C0AA210B77%27
比如这个 我想那个? 不显示!
<RewriterRule>
        <LookFor></LookFor>
        <SendTo></SendTo>
</RewriterRule>
这里要怎么写呀

解决方案 »

  1.   

    XiaLongV2/B_newsdetail.html-tag=(%2763318DDE-7371-41CB-8920-55C0AA210B77%27)
    XiaLongV2/B_newsdetail.html?tag={R:1}
    这种urlrewriter貌似是这么写的。。
      

  2.   

    <RewriterRule>
          <LookFor>~/XiaLongV2/B_newsdetail-(\w+).html</LookFor>
          <SendTo><![CDATA[~/XiaLongV2/B_newsdetail.html?tag=$1]]></SendTo>
        </RewriterRule>
      

  3.   

    简单实现ASP.NET URL重写这篇文章写得很详细,你不妨看一下
      

  4.   


    貌似没有哦  <LookFor>~/XiaLongV2/B_newsdetail-(\w+).html</LookFor>
          <SendTo>~/XiaLongV2/B_newsdetail.aspx\?tag.*</SendTo>
    也没用呀,我在正则表达式测试器 里测试过了, 都可以, 。net 里没用呢, 哪里错了呀