Skip to content

Commit

Permalink
Update and rename rule.md to rule.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagov8 authored Apr 26, 2024
1 parent 5ec1099 commit 8886f84
Showing 1 changed file with 25 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ type: rule
archivedreason:
title: Do you add a redirect from http to https for OWA?
guid: df2d7b63-316f-4989-912e-09543657f80c
uri: do-you-add-a-redirect-from-http-to-https-for-owa
uri: add-redirect-from-http-to-https-for-owa
created: 2016-05-02T06:48:16.0000000Z
authors:
- title: Stanley Sidik
url: https://ssw.com.au/people/stanley-sidik
related: []
redirects: []
redirects:
- do-you-add-a-redirect-from-http-to-https-for-owa
- configure-redirection-to-https-owa

---

Do you configure redirection from HTTP to https for Outlook Web App (OWA)? To simplify OWA access for your users, you want to configure the Outlook Web App page to automatically redirect users to https. The HTTP redirect procedure in IIS Manager simplifies OWA URL and forces to SSL connection from **mail.domain.com** to **mail.domain.com/owa** .
Do you configure redirection from HTTP to https for Outlook Web App (OWA)? To simplify OWA access for your users, you want to configure the Outlook Web App page to automatically redirect users to https. The HTTP redirect procedure in IIS Manager simplifies OWA URL and forces to SSL connection from **mail.domain.com** to **mail.domain.com/owa** .

<!--endintro-->

### Step 1: Use IIS Manager to simplify OWA URL and force redirection to SSL

1. Start IIS Manager.
1. Start IIS Manager
2. Expand the local computer, expand **Sites**, and then click **Default website**
3. At the bottom of the Default website Home pane, click **Features View** if this option isn't already selected
4. In the **IIS** section, double-click **HTTP Redirect**
Expand All @@ -40,39 +42,39 @@ Do you configure redirection from HTTP to https for Outlook Web App (OWA)? To si
1. Open a Command Prompt window.
2. Navigate to:

``` bash
<window directory="">\System32\Inetsrv.
```
``` bash
<window directory="">\System32\Inetsrv.
```

3. Run the following commands:

``` bash
appcmd set config "Default Web Site/autodiscover" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/ecp" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/ews" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/owa" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/oab" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/powershell" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/rpc" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/rpcwithcert" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" /section:httpredirect /enabled:false -commit:apphost
```
``` bash
appcmd set config "Default Web Site/autodiscover" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/ecp" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/ews" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/owa" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/oab" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/powershell" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/rpc" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/rpcwithcert" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" /section:httpredirect /enabled:false -commit:apphost
```

4. Finish by running the command:

``` bash
iisreset/noforce.
```
``` bash
iisreset/noforce.
```

### Step 3: Test that HTTP to HTTPS redirect is working

1. Open Internet Explorer and type in **mail&#46;domain&#46;com**
2. Done - You are then redirected to **mail&#46;domain&#46;com/owa**

::: bad
![Figure: Bad Example, no redirect in place for OWA](iisnoredirect.jpg)
![Figure: Bad example - No redirect in place for OWA](iisnoredirect.jpg)
:::

::: good
![Figure: Good Example, redirect from HTTP to https for OWA](iisredirect.jpg)
![Figure: Good example - Redirect from HTTP to https for OWA](iisredirect.jpg)
:::

0 comments on commit 8886f84

Please sign in to comment.