Exportovať (0) Tlačiť
Rozbaliť všetko
EN
Tento obsah nie je dostupný vo vašom jazyku, k dispozícii je však anglická verzia.

Simplify the Outlook Web App URL

 

Applies to: Exchange Server 2013

Topic Last Modified: 2014-08-25

You can use Internet Information Services (IIS) Manager to simplify the Microsoft Outlook Web App URL that users use to access their Exchange Server 2013 mailbox.

To simplify access to Outlook Web App for your users, you may want to configure the Outlook Web App Web page, which is usually the default website in IIS, to automatically redirect users to https. The procedure in the “Use IIS Manager to simplify the Outlook Web App URL and force redirection to SSL” section redirects a request for http://server to https://server/owa. To help secure the information that's sent between the client and the server, the default Web site is set to require Secure Sockets Layer (SSL) at installation.

When you configure redirection from a top-level directory in Windows Server 2008, the settings are propagated to lower-level directories. For example, when you configure redirection on the default website to the /owa virtual directory, the settings that you configure also appear on the HTTP Redirect page of all the virtual directories, such as /Autodiscover, /Exchange, and /Public. Therefore, you must remove redirection from all the virtual directories except the one that you want redirected.

  • Estimated time to complete: 10 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "IIS Manager" entry in the Outlook Web App Permissions section of the Clients and mobile devices permissions topic.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

TipTip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection..

  1. Start IIS Manager.

  2. Expand the local computer, expand Sites, and then click Default Web Site.

  3. At the bottom of the Default Web Site Home pane, click Features View if this option isn't already selected.

  4. In the IIS section, double-click HTTP Redirect.

  5. Select the Redirect requests to this destination check box.

  6. Type the absolute path of the /owa virtual directory. For example, type https://mail.contoso.com/owa.

  7. Under Redirect Behavior, select the Only redirect requests to content in this directory (not subdirectories) check box.

  8. In the Status code list, click Found (302).

  9. In the Actions pane, click Apply.

  10. Click Default Web Site.

  11. In the Default Web Site Home pane, double-click SSL Settings.

  12. In SSL Settings, clear Require SSL.

    NoteNote:
    If you don’t clear Require SSL, users won’t be redirected when they enter an unsecured URL. Instead, they’ll get an access denied error.
  13. For the new settings to take effect, open a Command Prompt window, and then type iisreset /noforce to restart IIS.

To verify that you have successfully simplified the Outlook Web App URL and redirected it to an SSL connection, do the following:

  1. Open a web browser and enter the new URL for Outlook Web App, using the format http://<URL>.

  2. You should be redirected to the Outlook Web App sign-in page through an SSL connection.

To remove redirection from a virtual directory, perform the following steps:

  1. Start IIS Manager.

  2. Navigate to the virtual directory.

  3. Double-click the HTTP Redirect icon in the Features view of the virtual directory.

  4. Clear the Redirect requests to this destination check box.

  5. In the Actions pane, click Apply.

  6. For the new settings to take effect, open a Command Prompt window, and then type iisreset /noforce to restart IIS.

You may not be able to use the procedure above to remove redirection from a virtual directory that doesn't have a physical path, such as /Exchange, /Exchweb, or /Public. Use the following procedure to remove redirection from a virtual directory that doesn't appear in IIS Manager.

  1. Open a Command Prompt window.

  2. Navigate to <Window directory>\System32\Inetsrv.

  3. Run the following commands:

    1. appcmd set config "Default Web Site/autodiscover" /section:httpredirect /enabled:false -commit:apphost

    2. appcmd set config "Default Web Site/ecp" /section:httpredirect /enabled:false -commit:apphost

    3. appcmd set config "Default Web Site/ews" /section:httpredirect /enabled:false -commit:apphost

    4. appcmd set config "Default Web Site/owa" /section:httpredirect /enabled:false -commit:apphost

    5. appcmd set config "Default Web Site/oab" /section:httpredirect /enabled:false -commit:apphost

    6. appcmd set config "Default Web Site/powershell" /section:httpredirect /enabled:false -commit:apphost

    7. appcmd set config "Default Web Site/rpc" /section:httpredirect /enabled:false -commit:apphost

    8. appcmd set config "Default Web Site/rpcwithcert" /section:httpredirect /enabled:false -commit:apphost

    9. appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" /section:httpredirect /enabled:false -commit:apphost

  4. Finish by running the command iisreset/noforce.

When you configure redirection from a top-level directory, a web.config file may be created under <drive>\Program Files\Microsoft\Exchange Server\<version>\ClientAccess\oab. If this has happened and you later remove redirection, Outlook may freeze when users click Send and Receive. To avoid this happening after you remove redirection, delete the web.config file from <drive>\Program Files\Microsoft\Exchange Server\<version>\ClientAccess\oab.

 
Bol tento článok užitočný?
(Zostávajúci počet znakov: 1500)
Ďakujeme za pripomienky
Zobraziť:
© 2014 Microsoft