Page Template

Edge provides page templates to support customer-defined error page and customer-defined WAF blocking page.

The page template supports the following variables:

  • ::CLIENT_IP::: Client’s IP.
  • ::CLIENT_COUNTRY::: Client’s country
  • ::CLIENT_PROVINCE::: Client’s province
  • ::CLIENT_CITY::: Client’s city
  • ::HCAPTCHA_BOX::: hCaptcha Box
  • ::CAPTCHA_BOX::: Captcha Box
  • ::HOST::: Host
  • ::REQUEST_ID::: Request ID
  • ::HEADER_{NAME}::: Any HTTP header, e.g. ::HEADER_USER-AGENT:: for the User-Agent header

Create Page Template

Edit Page Template

Delete Page Template

Using page templates in WAF

When the label of the page template is not set, the page template’s ID will be displayed here.

Using page templates in error page

The use of ::HCAPTCHA_BOX:: and ::CAPTCHA_BOX:: in error pages is not supported.

When the label of the page template is not set, the page template’s ID will be displayed here.