Skip to content

Commit b72c7a4

Browse files
committed
rewrite introduction
1 parent 16930cd commit b72c7a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/web-application-firewall/afds/waf-front-door-configure-custom-response-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ ms.custom: devx-track-azurepowershell
1111

1212
# Configure a custom response for Azure Web Application Firewall
1313

14-
In this article, you learn how to configure a custom response page when Azure Web Application Firewall blocks a request.
14+
By default, when Azure Web Application Firewall blocks a request because of a matched rule, it returns a 403 status code with the message "The request is blocked." The default message also includes the tracking reference string that's used to link to [log entries](./waf-front-door-monitor.md) for the request.
1515

16-
By default, when Azure Web Application Firewall blocks a request because of a matched rule, it returns a 403 status code with the message "The request is blocked." The default message also includes the tracking reference string that's used to link to [log entries](./waf-front-door-monitor.md) for the request. You can configure a custom response status code and a custom message with a reference string for your use case.
16+
In this article, you learn how to configure a custom response status code and a custom message with a reference string for your use case using the Azure portal, PowerShell, or the Azure CLI.
1717

1818
## Prerequisites
1919

@@ -98,7 +98,7 @@ az network front-door waf-policy update \
9898
9999
---
100100

101-
In the previous example, we kept the response code as 403 and configured a short "*Please contact us with this information*" message:
101+
In the previous example, the response code was kept as 403 with a custom message: "*Please contact us with this information:*".
102102

103103
:::image type="content" source="../media/waf-front-door-configure-custom-response-code/custom-response.png" alt-text="Screenshot that shows a custom response example.":::
104104

0 commit comments

Comments
 (0)