62,075
社区成员
发帖
与我相关
我的任务
分享
<!-- RUL重写开始 -->
<configSections>
<section name="RewriterConfig" requirePermission="false" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
</configSections>
<RewriterConfig>
<Rules>
<!--地址重写规则-->
<RewriterRule>
<!--一个参数-->
<LookFor>~/(.[\d]*)\.html</LookFor>
<SendTo>~/ny.aspx?id=$1</SendTo>
<!--2个参数
<LookFor>~/(.n[\d][\d]*)\.html</LookFor>
<SendTo>~/ny.aspx?id=$1?cid=$2</SendTo>-->
</RewriterRule>
</Rules>
</RewriterConfig>
<!-- RUL重写结束 -->