OWA HTTP to HTTPS Redirect, and 403 Errors in IE.

In my previous post I talked about how to accomplish a redirect, however there is a small snag:

Using a redirect page without enough text in the HTML file will, in some browsers (*ahem*IE*ahem*) cause them to use their own copy of the error page.  This copy won’t have a redirect to the site, obviously, and it won’t work.  This can be solved by changing the page to something like this:

<html><br /> <head><br /> <title>Microsoft Exchange Web Access - Redirect</title><br /> <META HTTP-EQUIV="Refresh"<br /> CONTENT="1; URL=https://email.domain.com/owa/"><br /> </head><br /> <body><br /> This page is attempting to redirect you to <a href="https://email.domain.com/owa/">https://email.domain.com/owa</a><br><br /> If you are not redirected within a few seconds, please click the link above to access Outlook Web Access.<br /> </body></html>