赞
踩
通用配置
web.config 内 <system.webServer> 配置节添加
<rewrite>
<rules>
<rule name="xinxin" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。