0
我一直在阅读关于Url重写在web.config的文章,但我不明白为什么我的重定向不起作用。下面是我的样本网址:url重写在web.config
localhost/MySite/1542
,这里是我使用的URL匹配模式:
<rule name="testRedirect" stopProcessing="true">
<match url="^/MySite/([0-9]+)" />
<action type="Redirect" url="/MySite/default.html" />
</rule>
能有人开导我有什么错我的代码?