问题描述
我有这个规则:
<rule name="Redirect old-domain to new-domain" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{URL}" negate="true" pattern="sxp-develop-example.azurewebsites.net" />
</conditions>
<action type="Redirect" url="https://www.example.com/{R:0}" redirectType="Permanent" />
</rule>
如果我导航到以下任一位置,我会期望的:
https://sxp-develop-example.azurewebsites.net
http://sxp-develop-example.azurewebsites.net
然后将不会发生重定向,但是我使用的任何其他URL都会重定向。 例如:
http://example.com带我去https://www.example.com
我做错了什么吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)