简体   繁体   English

IIS 8.5的Http重定向

[英]Http Redirect with IIS 8.5

In my IIS 8.5 i'm hosting a web site : https://Mysubdomain.domain.com/mywebsite 在我的IIS 8.5中,我托管一个网站: https : //Mysubdomain.domain.com/mywebsite

How can I redirect this url to : https://Mysubdomain.domain.com is it possible by using http redirect iis feature? 如何使用http redirect iis功能将该URL重定向到: https ://Mysubdomain.domain.com?

I can't edit the actual binding to set a host name, because i'have more then 10 web applications under this binding. 我无法编辑实际的绑定来设置主机名,因为在该绑定下我有10个以上的Web应用程序。 Thank you for your help. 谢谢您的帮助。

最简单的方法是使用URL重写,您可以在其中添加规则以匹配该文件夹并重定向到根目录: http : //www.iis.net/downloads/microsoft/url-rewrite

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM