Exchange 2007 OWA HTTP to HTTPS Redirect

UPDATE: Check my next post for further info on this, and the issues it has with IE.

There are many methods for setting up IIS to redirect users to the correct site.  If a user visits http://email.contoso.com, they need to end up at https://email.contoso.com/owa.  If a user visits https://email.contoso.com, they need to end up at the same place.  This is the easiest way I could find to accomplish both tasks:

Step 1 – Force IIS to use HTTPS

Step 2 – Setup the home directory to be a redirection to a “directory below this one” and fill in /owa (use /exchange for 2003)

Step 3 – Setup a custom error page for 403.4 errors with the following code:

<html><br /> <head><br /> <META HTTP-EQUIV="Refresh"<br /> CONTENT="0; URL=https://email.contoso.com/exchange"><br /> </head>

Step 4 – iisreset

All set.  Leave comments with any questions or comments!