Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# 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
# 1. Create Page Template

# 2. Edit Page Template

# 3. Delete Page Template

# 4. Using page templates in WAF

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

# 5. 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.