Skip to content

Commit 22d405c

Browse files
authored
Merge pull request #302502 from reyjordi/redirect-overview
Azure Doc-a-thon
2 parents f2cb1c2 + dfd8206 commit 22d405c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/application-gateway/redirect-overview.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ ms.author: mbender
1212

1313
# Application Gateway redirect overview
1414

15-
You can use application gateway to redirect traffic. It has a generic redirection mechanism which allows for redirecting traffic received at one listener to another listener or to an external site. This simplifies application configuration, optimizes the resource usage, and supports new redirection scenarios including global and path-based redirection.
15+
You can use application gateway to redirect traffic. It has a generic redirection mechanism, which allows for redirecting traffic received at one listener to another listener or to an external site. This simplifies application configuration, optimizes the resource usage, and supports new redirection scenarios including global and path-based redirection.
1616

17-
A common redirection scenario for many web applications is to support automatic HTTP to HTTPS redirection to ensure all communication between application and its users occurs over an encrypted path. In the past, customers have used techniques such as creating a dedicated backend pool whose sole purpose is to redirect requests it receives on HTTP to HTTPS. With redirection support in Application Gateway, you can accomplish this simply by adding a new redirect configuration to a routing rule, and specifying another listener with HTTPS protocol as the target listener.
17+
A common redirection scenario for many web applications is to support automatic HTTP to HTTPS redirection to ensure all communication between an application and its users occurs over an encrypted path. In the past, customers have used techniques such as creating a dedicated backend pool whose sole purpose is to redirect requests it receives on HTTP to HTTPS. With redirection support in Application Gateway, you can accomplish this simply by adding a new redirect configuration to a routing rule, and specifying another listener with HTTPS protocol as the target listener. For more information on HTTP to HTTPS redirection, see [Create an Application Gateway with HTTP to HTTPS redirection using the Azure portal](redirect-http-to-https-portal.md).
1818

1919
## Redirection types
2020
A redirect type sets the response status code for the clients to understand the purpose of the redirect. The following types of redirection are supported:
2121

22-
- 301 (Moved permanently): Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource will use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
23-
- 302 (Found): Indicates that the target resource is temporarily under a different URI. Since the redirection can change on occasion, the client should continue to use the effective request URI for future requests.
24-
- 303 (See Other): Indicates that the target resource is redirecting the user agent to a different resource, as indicated by a URI in the Location header field.
25-
- 307 (Temporary redirect): Indicates that the target resource is temporarily under a different URI. The user agent MUST NOT change the request method if it does an automatic redirection to that URI. Since the redirection can change over time, the client ought to continue using the original effective request URI for future requests.
22+
- **301 (Moved permanently)**: Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource will use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
23+
- **302 (Found)**: Indicates that the target resource is temporarily under a different URI. Since the redirection can change on occasion, the client should continue to use the effective request URI for future requests.
24+
- **303 (See Other)**: Indicates that the target resource is redirecting the user agent to a different resource, as indicated by a URI in the Location header field.
25+
- **307 (Temporary redirect)**: Indicates that the target resource is temporarily under a different URI. The user agent MUST NOT change the request method if it does an automatic redirection to that URI. Since the redirection can change over time, the client ought to continue using the original effective request URI for future requests.
2626

2727
## Redirection capabilities
2828

29-
- **Listener redirection**
29+
- **Listener redirection**
3030

3131
Redirects from one listener to another listener. Listener redirection is commonly used to enable HTTP to HTTPS redirection.
3232

33-
When configuring redirects with a multi-site target listener, it is required that all the host names (with or without wildcard characters) are defined as part of the source listener are also part of the destination listener. This ensures that no traffic is dropped due to missing host names on the destination listener while configuring HTTP to HTTPS redirection.
33+
When configuring redirects with a multi-site target listener, it's required that all the host names (with or without wildcard characters) that are defined as part of the source listener are also part of the destination listener. This ensures that no traffic is dropped due to missing host names on the destination listener while configuring HTTP to HTTPS redirection.
3434

3535
- **Path-based redirection**
3636

37-
This type of redirection enables redirection only on a specific site area, for example, redirecting HTTP to HTTPS requests for a shopping cart area denoted by /cart/\*.
37+
This type of redirection enables redirection only on a specific site area, for example, redirecting HTTP to HTTPS requests for a shopping cart area denoted by `/cart/*`.
3838

3939
- **Redirect to external site**
4040

0 commit comments

Comments
 (0)