开发者

Redirecting an "HTTPS" to "HTTP" on Microsoft IIS

I have a website thats currently being accessed on an "https" url but the certificate is expiring soon and we do not want SSL on this website anymore so just an "http" access is fine. How do I get the requests made to https url automatically redirect to the http url? This page might have been bookmarked by people and the bookmark will still have the "https" url. I want these requests to be redirected to the "http" url开发者_如何学运维. I am running my website on a Microsoft IIS.


Reply to the request with an HTTP 301: Moved Permanently.


I had a similar scenario, but in the opposite direction.

set your DNS Manager to point to same ip/machine for both http and https

on the iis machine, create a dummy web site for https that points it to http.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜