Skip to main content

Error Rules

Overview​

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.

error_rules

How to Use:​

  1. Log into the Haltdos WAF Professional edition web UI console.
  2. Then go to Listeners > Rules > Error Rules
  3. Click on Add Rule.
  4. Configure the rule and click on save changes.
ParametersAccepted valueDefault
Rule NameStringBlank
Rule MessageStringBlank
Rule PriorityInteger0
URIStringBlank
MethodDrop-downALL
HTTP Response Code400, 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, 530None
Rule ActionDrop-DownBlank
Custom Error PageDrop-DownBlank

Description​

Rule Name​

Users are allowed to specify a rule name to identify the rule which is to be created. The rule name takes alpha-numeric input.

Rule Message​

Users are allowed to specify a rule message to understand the purpose of the rule. It can contain a detailed description to identify the rule.

Rule Priority​

Users are allowed to specify the priority for the rule for execution when matched with the request.

URI​

Users are allowed to specify the URI.

Method​

Users are allowed to specify the method for the rule.

HTTP Response Code​

Users are allowed to specify the HTTP response code based on the custom error rule name.

Rule Action​

Users are allowed to specify the rule action. Users can select either to take no action or send custom response.

Custom Error Page​

Users are allowed to select the custom error page from the drop-down list.