Skip to content

Commit fa81e54

Browse files
Merge pull request #304623 from halkazwini/patch-4
Refine title and description for WAF custom responses
2 parents d93d935 + 70aea80 commit fa81e54

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

articles/web-application-firewall/ag/configure-custom-response-code.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
2-
title: Configure custom responses for Azure Application Gateway WAF
3-
description: Learn how to configure a custom response code and body (message) when Azure Web Application Firewall blocks a request.
2+
title: Configure custom responses for Azure Application Gateway
3+
titleSuffix: Azure Web Application Firewall
4+
description: Learn how to configure a custom response code and body (message) when Azure Web Application Firewall on Azure Application Gateway blocks a request.
45
author: YaakobiEden
56
ms.author: edenyaakobi
67
ms.service: azure-web-application-firewall
78
ms.topic: how-to
89
ms.date: 08/24/2025
910
---
1011

11-
# Configure custom response code and body for Application Gateway WAF
12+
# Configure custom response code and body for Azure Application Gateway WAF
1213

13-
By default, when Web Application Firewall (WAF) on Application Gateway blocks a request due to a matched rule, it returns a 403 status code with the message "The request is blocked." You can customize the response by configuring a custom status code and message to better suit your use case.
14+
By default, when Azure Web Application Firewall (WAF) on Azure Application Gateway blocks a request due to a matched rule, it returns a 403 status code with the message "The request is blocked." You can customize the response by configuring a custom status code and message to better suit your use case.
1415

1516
This article shows you how to configure a custom response page when Azure Application Gateway's Web Application Firewall (WAF) blocks a request using the Azure portal. You can also configure custom responses using the [Azure CLI](/cli/azure/network/application-gateway/waf-policy/policy-setting) or PowerShell.
1617

0 commit comments

Comments
 (0)