为什么IIS 7.5中的https到http不起作用? [英] Why the https to http in IIS 7.5 not working?

查看:113
本文介绍了为什么IIS 7.5中的https到http不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么IIS 7.5中的https到http不起作用?安装了Url Rewrite Module并应用了规则,条件等。我的web.config标签如下:



Why the https to http in IIS 7.5 not working?Url Rewrite Module was installed and rules,conditions etc were applied. My web.config tag is as follows:

<rules>
<rule name="Redirect to HTTP" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="http://{HTTP_HOST}/{R:1}"; redirectType="SeeOther" />
</rule>





但是https没有被重定向到http。



But https not getting redirected to http.

推荐答案

/ >
< / conditions >
< action type = 重定向 url = http:// {HTTP_HOST} / {R:1} ; redirectType = 请参阅 / >
< / rule >
" /> </conditions> <action type="Redirect" url="http://{HTTP_HOST}/{R:1}"; redirectType="SeeOther" /> </rule>





但是https没有被重定向到http。



But https not getting redirected to http.


你必须绝望......

如何从Http重定向到本地主机中的Https? [ ^ ]

如何在IIS中将https转换为http时,通过过滤跟踪请求安装和跟踪url重写模块的错误? [ ^ ]

​​如何将http转换为https和其他方式使用global.asax? [ ^ ]

如何在IIS 6中启用SSL证书并在Global.asax下将http转换为https? [ ^ ]

如果request.url是http,如何在url中纠正response.redirect到https在Global.asax下本地? [ ^ ]

如何在global.asax中将http路径更改为https? [ ^ ]

为什么Url重写模块2.0无法在IIS 7.5中运行? [ ^ ]

为何转换为https到http不适用于web.config中的IIS 7.5? [ ^ ]



已经有一些答案 - 而不是发布它一遍又一遍,试着改进你原来的问题......
You must be desperate...
How Can I Redirect From Http To Https In Local Host?[^]
How to install and trace the errors of url rewrite module via filtered tracing request while converting https to http in IIS?[^]
How to convert http to https and other way around using global.asax ?[^]
How to enable SSL certificate in IIS 6 and convert http to https under Global.asax?[^]
How to rectify response.redirect to https in url if the request.url is http locally under Global.asax?[^]
How can I change http path to https in global.asax?[^]
Why Url Rewrite module 2.0 not working in IIS 7.5?[^]
Why conversion of https to http not working for IIS 7.5 in web.config?[^]

There are some answers already - instead to post it over and over again, try to refine your original question...


这篇关于为什么IIS 7.5中的https到http不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆