Question : Trying to redirect a user from http to https automatically. Windows 2008 running II7

I am trying to redirect a user from http to https automatically. Windows 2008 running II7

When users go to my index.asp, default.asp or index.php, default.php or index.html, etc.  pages, I want the URL to change from http to https automatically.

I had this running previously with no problem on a Windows 2003 server, but I don't remember for the life of me, what I put in place to get this working.  I kind of remember setting something with the error page and forcing the site to SSL.  This way when it fails, it would do something but .. I can't remember what?

Can someone guide me through this so I can get it working?

Thanks,
Gary

Answer : Trying to redirect a user from http to https automatically. Windows 2008 running II7

Here's an article off IIS's website with screenshots you could sort of follow:

http://learn.iis.net/page.aspx/461/creating-rewrite-rules-for-the-url-rewrite-module/

They have plenty of articles there telling you how to use it and how to create new rules. Technically if you wanted to instead of creating a new application starting point you could modify the match url to look for the sub folder. Something like (.*)/foldername/(.*) or however you want to setup the regular expression.
Random Solutions  
 
programming4us programming4us