问题描述
我用谷歌搜索死了,没有运气就读了StackOverflow上的所有条目。我的本地开发环境未遵循以下重写规则。
<rule name="WWW-Rewrite" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="true">
<add input="{HTTP_HOST}" negate="true" pattern="^www\.(.*)$" />
<add input="{HTTP_HOST}" negate="true" pattern="ft-ue-firstsav-com" />
<add input="{HTTP_HOST}" matchType="Pattern" pattern="^localhost(:\d+)?$" negate="true" />
<add input="{HTTP_HOST}" matchType="Pattern" pattern="^127\.0\.0\.1(:\d+)?$" negate="true" />
</conditions>
<action type="Redirect" url="http://www.{HTTP_HOST}/{R:0}" appendQueryString="true" redirectType="Permanent" />
</rule>
要解决此问题,我进行了慢速的猎豹转换,在调试模式下将启用的属性从true翻转为false。在此有效的同时,我希望实际的规则有效。
有没有建议?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)