Error Rules
These rules mask exceptions and errors with custom pages
Last updated
Was this helpful?
These rules mask exceptions and errors with custom pages
Last updated
Was this helpful?
Error Rules is a feature of Haltdos WAF that allows application owners to show custom pages without revealing internal exceptions generated by the application upon failure. The custom pages can be created for specific HTTP error codes respectively and thus be used with the error rules.
Follow the links: WAF > Listener > Security Profiles > Rules > Error Rules
Click on Add Rule and set relevant parameters described in the table below.
Click on Save changes.
PARAMETERS
ACCEPTED VALUES
DEFAULT
Rule Name
String
Blank
Rule Message
String
Blank
Rule Priority
Integer
0
URI
String
Blank
Method
Drop Down
ALL
HTTP Response Code
400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 428, 429, 431, 440, 444, 449, 450, 451, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 520, 521, 522, 523, 524, 525, 526, 527, 530
None
Rule Action
Drop Down
Blank
Error Handling
ENABLED/DISABLED
ENABLED
Custom Error Page
Select from Custom Pages added
None
HTTP error codes for which the custom error page needs to be shown. These are the response codes that the back-end sends in returns.
If this field is enabled, then the custom error page will be displayed. If it is disabled, then the default server error page will be displayed.
Select the desired custom error page which will be displayed when the specified error occurs. Or click the Add button which redirects to the custom pages screen to create a custom page and add HTML content and then select it from the drop-down list.
Specify the URI
Specify HTTP method
User can mention the HTTP response code based on the custom error rule name.
User can specify the rule action.