Windows – IIS 7 – 允许http部分网站,https休息?
发布时间:2020-12-13 23:51:05 所属栏目:Windows 来源:网络整理
导读:在IIS 7中,有没有办法在同一站点上设置两个URL以允许http和https,其余的只能是https? - http://mysite/url1 or https://mysite/url1 is accepted and stays on that protocol. - http://mysite/url2 or https://mysite/url2 is accepted and stays on that
在IIS 7中,有没有办法在同一站点上设置两个URL以允许http和https,其余的只能是https?
- http://mysite/url1 or https://mysite/url1 is accepted and stays on that protocol. - http://mysite/url2 or https://mysite/url2 is accepted and stays on that protocol. - any other item,i.e. http://mysite/whatever redirects to https://mysite/whatever - https://mysite/whatever is accepted. 编辑,因为第一个问题不够明确.
最友好的方法是使用IIS URL Rewrite,因为如果它们通过HTTP到达它不会引发错误,但它会为它们重定向到HTTPS.您可以将规则设置为重定向到所有页面的https,除了您需要的2(以及任何仍可以保留HTTP的图像,css或其他依赖项).
这是一个入门链接:http://tinyurl.com/4lj4v5g. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Windows服务 – Visual Studio 11 BETA中不支持Windows Ins
- Windows 8商店应用的设置栏中的按钮样式
- Windows下的Anaconda安装Websocket-Client
- 存储空间 – Microsoft Storage Space Direct预留空间
- windows – 即使需要重启/重启,如何强制DSC执行所有配置(包
- Metro XAML – LayoutTransform在哪里?
- 为什么我需要SharpSvn-DB44-20-win32和SharpSvn-Sasl21-23-
- Windows命令行字符串解析:字符串中的文件夹和文件名
- 从Windows PowerShell运行bash脚本
- WIN10家庭中文版远程提示要求的函数不支持 win10家庭版提示
推荐文章
站长推荐
- windows10安装.net framework3.5
- windows – _EPROCESS对象和_KPROCESS对象有什么
- RF上传图片各种失败坑,使用pywin32来操作window
- 托管 – Windows Server – “没有足够的存储可用
- 在Windows对话框中处理WM_ERASEBKGND时如何避免闪
- 在windows上导入.sql文件到postgresql
- windows-7 – 将多个Win7安装的驱动程序组合到单
- macos – Windows程序员如何在Mac OS X上充分发挥
- 使用autohotkey定制windows 10 虚拟桌面的快捷键
- wix – 重新缓存的msi仍在运行旧的自定义操作
热点阅读