日期:2014-05-18 浏览次数:20516 次
<configSections>
<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<RewriterRule>
<LookFor>~/(.[0-9]*)\.html</LookFor>
<SendTo>~/index.aspx?id=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/(.[0-9]*)/(.[0-9]*)\.html</LookFor>
<SendTo>~/list.aspx?id=$1&bid=$2</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/index.html</LookFor>
<SendTo>~/default.aspx</SendTo>
</RewriterRule>
</Rules>
</RewriterConfig>
<RewriterRule>
<LookFor>~/(.[0-9]*)/(.[0-9]*)\.html</LookFor>
<SendTo><![CDATA[~/list.aspx?id=$1&bid=$2]]</SendTo>
</RewriterRule>