https to http redirection when ssl is not installed


https to http redirection when ssl is not installed



We have a site which was https enabled. After a site revamp we have removed the certificate and https://www.foo.com is not http://www.foo.com.

There are many links in other sites, which link to th old https site, which we have no control. Is there something we can do in out side to redirect these links to home page atleast?

Will url rewriting work in this case?

There were some broken link which we fixed with a custom 404 page and tracking the links.

Does this belong to serverfault?




How can I add multiple ServerBindings to IIS6 using powershell?

1:



Cannot Display Page error in several browser with a live IIS6
You're pretty much out of luck - you can do URL rewriting as @Josh says, but before the browser even gets that far, most of them will give the user a big warning message telling them the SSL certificate isn't valid, which will put off most of the visitors..
What is the difference between DefaultAppPool and Classic .NET AppPool in IIS7?
I'd recommend buying an SSL certificate - they're not so expensive - then doing the rewrite..
Is there a way to configure the Application Pool's “Idle timeout” in web.config?


WebResource.axd 404 for my SiteMapPath CSS and others


ASP.NET 3.5 deployment issue under IIS5

2:



Code to create IIS Website
using mod_rewrite.
GMAIL rss don't see tag description.How to see Request headers of my iis 5 website
# forces everything to non-secure if secure (http)  RewriteCond %{SERVER_PORT} =443  RewriteRule ^(.*)$ http://%{SERVER_NAME}/$1 [R,L] 
Josh.


3:


The solution for IIS may be ISAPI_Rewrite 3.

Here's the .htaccess:.
RewriteBase / RewriteCond %{HTTPS} on RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L] 



70 out of 100 based on 80 user ratings 1330 reviews