Technical Tip: Configuring custom FortiWeb block pages using non-Latin characters
| Description | This article describes how to configure a custom FortiWeb block page using a non-Latin language such as Arabic by using replacement messages. |
| Scope | FortiWeb. |
| Solution | FortiWeb customizes block pages through replacement messages. The general procedure for creating and applying replacement messages is documented in the FortiWeb Administration Guide. For standard configuration steps, follow the instructions in Customizing error and authentication pages (Replacement Messages) in the FortiWeb documentation. When using non-Latin languages, such as Arabic, additional HTML considerations are required to ensure correct rendering. Additional steps for non-Latin block pages: Follow the instructions in Customizing error and authentication pages (Replacement Messages) to create or edit a replacement message. While doing so, locate the available sections in the replacement message editor, such as:
If the block page is intended for security violations, expand Security and select Attack Block Page to edit the corresponding HTML template. When editing the HTML content, paste the custom non-Latin page content into the code pane and confirm that the preview pane updates accordingly. The HTML template must include a UTF-8 character set declaration to ensure that non-Latin characters render correctly in the browser. For example:
Binding the custom replacement message to a server policy:
After creating the replacement message, bind it to the appropriate server policy as described in the FortiWeb Administration Guide. Ensure that the replacement message is selected under the Security Configuration section of the server policy so that it is applied when a blocking action is triggered.
Expected behavior:
Notes:
Related document: Customizing error and authentication pages (replacement messages) |




