I am sure there is a simple solution for this, I just cannot find it.
Basically, I have a new setup of Exchange 2007 SP3 on Server 2008 R2. I am trying to set it up so that when the user types http:/
I already have http redirection setup in IIS so that when they type mail.domain.com it will redirect and append /owa to the url.
On a previous install, I was able to accomplish the HTTP - HTTPS redirect quite simply by creating a custom error page (403.4), which is quite simply:
function redirectToHttps()
{
var httpURL = window.location.hostname+window.location.pathname;
var httpsURL = "https:/
window.location = httpsURL;
}
redirectToHttps();
I placed this file in the inetpub directory, changed the response action to "Insert content from static file into the error response" and entered the absolute path of:
c:\inetpub\HttpsRedirect.htm.
No issues - the only difference between the setups is that the successful deployment was on a 2008 Standard Server and so I am thinking this MAY have something to do with R2.
When I test it out, I now get a 500.19 error page:
"Absolute physical path "C:\inetpub\HttpsRedirect.htm" is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead."
Any help here? Thanks!
Mike