// you’re reading...

Support

Redirecting http to https for exchange 2007 with Windows Server 2008

It was surprising how many users are searching on the net for http redirection to https when installed exchange 2007 on windows server 2008.

if you want to make iis redirect the url from http to https.
when you type http://owa.mydomain.net it should redirect this to
https://owa.mydomain.net/owa

make a backup of your error page i.e 403.bak then open your error code page “403.htm” with notepad and copy the code below between “Start copy” and “Stop copy” paste in to the 403.htm, and replace only the https://owa.mydomain.net/owa with your url that’s all.

Location for error code page is in C:\inetpub\custerr\en-US

—-Start copy from next line—

<BODY onLoad=”window.noJs()”>
<SCRIPT LANGUAGE=”Javascript”>
<!– Begin
function noJs() {
var destination = “https://owa.mydomain.net/owa“;

window.location.replace(destination);
window.location.href=destination;
}
// End –>
</SCRIPT>

– stop copy above this line –

Discussion

No comments for “Redirecting http to https for exchange 2007 with Windows Server 2008”

Post a comment