继续问URL重写的问题?
我下载MS的URLRewriter.dll,放到了的web程序的bin下
------
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter"/> 我也添加到了<configSections></configSections>的中间
<RewriterConfig>
<Rules>
<!--blog的title url
http://localhost/lonelyghost/Web/Blog/Blog_TitleDetailDisplay.aspx?PID=29-->
<RewriterRule>
<LookFor>~/(\d{4})/id\.aspx</LookFor>
<SendTo>~/Blog_TopicDetailDisplay.aspx?id=$1</SendTo>
</RewriterRule>
<!--blog的pic url
http://localhost/lonelyghost/Web/Blog/Blog_ImageDetailDisplay.aspx?PID=29-->
<RewriterRule>
<LookFor>~/(\d{4})/PID\.aspx</LookFor>
<SendTo>~/Blog_ImageDetailDisplay.aspx?PID=$1</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
---------------
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />这个也添加到了<httpHandlers></httpHandlers>中间
-------------我这样设置了为什么不行呢,是哪里设置错误,还是哪里没有设置好,请大家帮帮忙啊