Skip to content

Commit 58d6ce8

Browse files
Update rewrite-http-headers-url.md
AppGW Rewrite Rules do not support 'X-Original-Host' under the "Common Header" > "Set", it offers other X-headers, but not Original Host. Additionally, if using "Custom Header", it allows you to create the Rewrite Rule, but does not take effect since the AppGW 'creates' this header (non-standard HTTP Header)
1 parent 715fa73 commit 58d6ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/application-gateway/rewrite-http-headers-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ For a URL redirect, Application Gateway sends a redirect response to the client
256256
- Rewrites aren't supported when the application gateway is configured to redirect the requests or to show a custom error page.
257257
- Request header names can contain alphanumeric characters and hyphens. Headers names containing other characters will be discarded when a request is sent to the backend target.
258258
- Response header names can contain any alphanumeric characters and specific symbols as defined in [RFC 7230](https://tools.ietf.org/html/rfc7230#page-27).
259-
- Connection and upgrade headers cannot be rewritten
259+
- X-Original-Host, Connection, and upgrade headers cannot be rewritten
260260
- Rewrites aren't supported for 4xx and 5xx responses generated directly from Application Gateway
261261

262262
## Next steps

0 commit comments

Comments
 (0)