<RewriterRule>
<LookFor>~/Tree/Default(\d+)-(\d+)\.html</LookFor>
<SendTo>~/Tree/Default.aspx?Sort=$1,PageIndex=$2</SendTo>
</RewriterRule>
这种写法是错的,我就是想把 default.aspx?Sort=1&PageIndex=3
重写成 default1-3.html
怎么配置?如果是3个参数以上呢?
<RewriterRule>
<LookFor>~/Tree/Default(\d+)-(\d+)\.html</LookFor>
<SendTo>~/Tree/Default.aspx?Sort=$1,PageIndex=$2</SendTo>
</RewriterRule>
这种写法是错的,我就是想把 default.aspx?Sort=1&PageIndex=3
重写成 default1-3.html
怎么配置?如果是3个参数以上呢?