As a messaging engineer we usually meet a situation (when user complains about they don’t remember the exact URL for OWA) that there is a need to simplify OWA URL. In this case we can use the following script in order to redirect OWA URLs requests to SSL enabled URL.
Exchange 2003
———————-
Exchange 2007
———————-
*Usage*
- Copy the script and save it as Redirect.htm.
- Copy Redirect.htm to %/Inetpub/wwwroot/
- Set Redirect.htm as Default Content Page at IIS Default Web Site
*Notes*
The above redirection works only on Windows 2003.
For exchange 2007/2010 running on windows 2008/2008R2
———————————————————————————–
Step 1:
————–
- Log on Internet Information Services (IIS) Manager
- Switch back to Features view of the “Default Web Site” and double click on “Error Pages”.
- In the Actions pane, click on “Edit Feature Settings” and under “Error Responses”, select: “Custom Error Pages”. Then click OK.
- In the Actions pane, click on “Add” and configure the following
- Status code: 403.4
- Click on Respond with a 302 redirect and provide the absolute URL:
*Note:* Make sure you are using “https”
Step 2:
———–
- Open IIS 7 Manager
- Highlight the Default Website and ensure we are in the Features View
- Double click on HTTP Redirect icon
- Check the option “Redirect requests to this destination:” and type the absolute OWA URL:
- Under Redirect Behavior section, select the option “Only redirect requests to content in this directory (not subdirectories)”
- From the drop down, select the Status code: Found (302)
- Click Apply to save the settings
- Run IISRESET /noforce command in CMD for the settings to take effect.
Note:Disable SSL on default website. Enable SSL on the required virtual directores only (eg; owa,autodiscover,Exchange-Server-Active-Sync,etc…)