IIS7.5下开启https后 会经常出现css、js文件失效和调用错误

创建时间:2019-04-23 00:59发布者:招投标资质网点击数:1648
<rule name="HostNameRule1">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTPS}" pattern="^OFF$" />
<add input="{HTTP_HOST}" pattern="^www.001gift.com$" negate="true" />
</conditions>
<action type="Redirect" url="https://www.001gift.com/{R:1}" />
</rule>
<rule name="HTTPS redirect">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^ON$" />
<add input="{HTTP_HOST}" pattern="^www.001gift.com$" negate="true"/>
</conditions>
<action type="Redirect" url="https://www.001gift.com/{R:1}" redirectType="SeeOther" />
</rule>

回答 我也遇到这个问题(2)
招投标资质网2019-04-23 01:00回答
https://www.XXXXXX.com/index.php/goods/news/gift/news/gift/news/gallery/news/gift/news/gift/gallery/gallery/gallery/news/gift/news/gift/news/gift/news/gift/gallery/theme/default/images/theme/default/images/logo.png


图片、JS、CSS文件失效,路径变成以上,网页错位
有用(0) 没用(0)