See also : "option httpchk", "http-check disable-on-404"
-http-request { allow | deny | tarpit | auth [realm <realm>] | redirect <rule> |
+http-request { allow | tarpit | auth [realm <realm>] | redirect <rule> |
+ deny [deny_status <status>] |
add-header <name> <fmt> | set-header <name> <fmt> |
capture <sample> [ len <length> | id <id> ] |
del-header <name> | set-nice <nice> | set-log-level <level> |
pass the check. No further "http-request" rules are evaluated.
- "deny" : this stops the evaluation of the rules and immediately rejects
- the request and emits an HTTP 403 error. No further "http-request" rules
- are evaluated.
+ the request and emits an HTTP 403 error, or optionally the status code
+ specified as an argument to "deny_status". The list of permitted status
+ codes is limited to those that can be overridden by the "errorfile"
+ directive. No further "http-request" rules are evaluated.
- "tarpit" : this stops the evaluation of the rules and immediately blocks
the request without responding for a delay specified by "timeout tarpit"