Link to home
Start Free TrialLog in
Avatar of bndit
bndit

asked on

HTTP to HTTPS redirection for OWA not working on Windows 2008 SP2

Hello,
I have Exchange 2003 and I'm moving to Exchange 2007. I just installed the CAS server and https://mail.somedomain.com/exchange works great on the CAS to access E2k3 mailboxes. However, when I follow the steps on Microsoft's article on how to redirect HTTP to HTTPS, it doesn't work...I get Error 403 - Access Denied. http://technet.microsoft.com/en-us/library/aa998359.aspx After spending some time researching google. and EE, I see that there are other ways via a script...however, I'm confused...one option calls for a ASP and installing the appropriate ASP features on the server...another option calls for a HTML page....I'm looking for a straight-forward way of doing this...just like in Exchange 2003, which uses the Error code and page approach...I'd appreciate your feedback. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of endital1097
endital1097
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Simplest way in IIS 7 would be to set redirection using 'HTTP redirect'.

for that open IIS manager ---> sites---> default web site

on the right hand side you will have an option 'HTTP redirect'

You can set the redirection over here to https://owa.yourdomain.com/owa and select the status code to 302 and it should be set...

Also go this article.... http://technet.microsoft.com/en-us/library/cc732969(WS.10).aspx

[In short: Refer to this section of the article http://technet.microsoft.com/en-us/library/aa998359.aspx "Windows Server 2008"]

Note: In IIS 7, if we set the redirection on 'Default Web Site', then it is inherited by all the virtual directories under it. So you might have to go ahead and manually remove this redirection from these virtual directories to avoid any issues.

Let us know how it goes.
Avatar of bndit
bndit

ASKER

Hi endital1097 - tried your suggestion and I suspected it worked....however, what are the implications (if any) of doing the redirection via "error page" as opposed to doing it via a script or using IIS?

Hi lastlostlast - I tried the majority of the steps you point me to...however no luck for me....I found some blogs where some admins claim that the HTTP redirect of IIS on W2k8 doesnt work as expected...and to be honest it's somewhat cumbersome to just direct HTTP to HTTPS...i.e. ask the client to resubmit another query....making sure that remove redirection on folders where is not needed or will cause issues...put back SSL on folders where it's needed...etc....
then have you tried using the sslredirect.htm?

wat issues did u face while using this file?

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

Open in new window

i have been using this redirect method for almost two years without any issues
it is just a permanent redirect
Avatar of bndit

ASKER

lastlostlast - I didn't try the ssredirect.htm as I got discouraged after spending a lot of time trying to get the HTTP Redirect feature in IIS working as per the Microsoft article...Do you have the steps to configure this file? I'll give it a shot.
Avatar of bndit

ASKER

thx