After doing the redirection to simplify OWA URL, all the exchange 2007 mail functions are running normally besides unified services that we don't need it. Users can use simple URL to access Web mail, use smartphone to access mails through Exchange ActiveSync and use Outlook client to access mails through Outlook Anywhere service.
Few weeks ago, we upgraded the exchange 2007 server from SP1 to SP2. All the customized changes for simplify OWA URL had recovered to default, so i have to do it again on the exchange server.
Recently, We have a request to enable autodiscover service on the exchange server but we don't sufficient domain SSL Certification to run this service. We requested a new certificate from Go Daddy and imported to exchange server. After all the exchange configuration for new SSL certification, i restarted the IIS services and we got a new issue on Push Mail.
When we tried to sync the mails through spartphone, we got an error message "Server is not available, please try it later". When we tried to direct access the path http://exchangeExternalURL/Microsoft-Server-Sync/, we got HTTP500 page and told us there has an internal error on the server. We follow these two clues to search the solution and find some idea from other users.
Those solution are briefed as below:
1. Check the authentication method on the Microsoft-Server-ActiveSync.
This virtual folder should enabled as "Basic Authentication".
2. Restart IIS Services through Service console.
3. Restart Exchange IM and ATM services through service console.
4. Restart Application Pool (MSExchangeSyncAppPool).
5. Recreate Microsoft-Server-ActiveSync virtual folder.
6. Reboot Exchange server.
All the above solution can't help me to solve the issue.
Well, since all the behavior pointed to IIS virtual folder fail, we tried to compared with our testing exchange server's virtual directory to see if we can find any different or not. Just as expected, we found that there has a web.config file located in Default Web Site but not show in the testing exchange server. We checked the content and found this file was the configuration file for any changes on the default web site. We tried to renamed this file and restart IIS. Luckily, the issue been solved. Our smartphone can communicated with Exchange server and sync the mails as usual. After review the result, we found that the issue might caused by IIS7 new inherit behavior and caused the redirect settings inherited by sub virtual folder.
There has a web site can help you to test your remote connectivity is running normal or not.
Exchange Remote Connectivity Analyzer
Wednesday, March 31, 2010
Tuesday, March 16, 2010
Exchange -- Redirect HTTP to HTTPs for OWA accessing on Exchange 2007 SP1
We created a Exchange 2007 as our mail system and installed on Windows 2008 Standard edition recently. All functions works well.
But recently, users complaint that the link to access web mail is too long and hard to remember.
They wonder if they can just type in the address without https or subaddress (/owa) to access the web mail. Here are the scenario we need:
1. http + public host name -> https + public host name + /owa
2. https + public host name -> https + public host name + /owa
3. http + public host name + /owa -> https + public host name + /owa
4. http + internal host name -> https + public host name + /owa
I searched the web and found that Microsoft has an official documents for these scenarios.
Simplify the Outlook Web App URL
It has detail steps for the configuration. I extracted the main steps as below:
=========================================================
Use IIS Manager to simplify the Outlook Web App URL when SSL is required
To remove redirection from a virtual directory, perform the following steps:
But after follow the steps to setup the server, i found there have some tricks need to note to meet the goal.
But recently, users complaint that the link to access web mail is too long and hard to remember.
They wonder if they can just type in the address without https or subaddress (/owa) to access the web mail. Here are the scenario we need:
1. http + public host name -> https + public host name + /owa
2. https + public host name -> https + public host name + /owa
3. http + public host name + /owa -> https + public host name + /owa
4. http + internal host name -> https + public host name + /owa
I searched the web and found that Microsoft has an official documents for these scenarios.
Simplify the Outlook Web App URL
It has detail steps for the configuration. I extracted the main steps as below:
=========================================================
Use IIS Manager to simplify the Outlook Web App URL when SSL is required
- Start IIS Manager.
- Expand the local computer, expand Sites, and then click Default Web Site.
- At the bottom of the Default Web Site Home pane, click Features View if this option is not already selected.
- In the IIS section, double-click HTTP Redirect.
- Select the Redirect requests to this destination check box.
- Type the absolute path of the /owa virtual directory. For example, type https://mail.contoso.com/owa.
- Under Redirect Behavior, select the Only redirect requests to content in this directory (not subdirectories) check box.
- In the Status code list, click Found (302).
- In the Actions pane, click Apply.
- For the new settings to take effect, open a Command Prompt window, and then type iisreset /noforce to restart IIS.
To remove redirection from a virtual directory, perform the following steps:
- Start IIS Manager.
- Navigate to the virtual directory.
- Double-click the HTTP Redirect icon in the Features view of the virtual directory.
- Clear the Redirect requests to this destination check box.
- In the Actions pane, click Apply.
- For the new settings to take effect, open a Command Prompt window, and then type iisreset /noforce to restart IIS.
- Open a command window
- Navigate to
\System32\Inetsrv
- Enter the following command: appcmd set config "< web site >/< virtual directory >" /section:httpredirect /enabled:false -commit:apphost
But after follow the steps to setup the server, i found there have some tricks need to note to meet the goal.
- Need to disable "Require SSL" on the default web site.
It can allow http access from clients. (Make sure the sub folder do not inherit the configuration) - Need to clear all redirect setting that inherited from default web site on the all virtual directorys. (Include /owa)
- Need to modify the error page 403 and change the respond on virtual folder OWA to redirect to main page when access to virtual folder without using SSL.
Subscribe to:
Posts (Atom)