commit | 5c8e3e09e91aec94cae6f0e1b1deb94ae51b23a2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon May 07 00:58:25 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 08 23:24:51 2007 +0200 |
tree | b8e7a3b9ad35a679dbee78990fa4d10a429e045e | |
parent | 8797c06327f4e9fb123adc2b9eb5a01a93c28756 [diff] |
[MEDIUM] added the 'block' keyword to the config language The new 'block' keyword makes it possible to block a request based on ACL test results. Block accepts two optional arguments : 'if' <cond> and 'unless' <cond>. The request will be blocked with a 403 response if the condition is validated (if) or if it is not (unless). Do not rely on this one too much, as it's more of a proof of concept helping in developing other matches.