commit | 81499eb67d5c3007268ab1674806fff3308301f3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Dec 27 12:19:02 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 28 14:47:19 2012 +0100 |
tree | 71c6385472f132c92ee79bcfa8386f6f50311353 | |
parent | 4baae248fc77eaaad308fb5fbdf5d0bd71081f5b [diff] |
MEDIUM: http: add support for "http-request redirect" rules These are exactly the same as the classic redirect rules except that they can be interleaved with other http-request rules for more flexibility. The redirect parser should probably be changed to stop at the condition so that the caller puts its own condition pointer. At the moment, the redirect rule and condition are parsed at once by build_redirect_rule() and the condition is assigned to the http_req_rule.