From f285f54311fbc5a94619d414d3486a384d6df7ea Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 3 Jan 2010 20:03:03 +0100 Subject: [PATCH] [MINOR] redirect: add support for unconditional rules Sometimes it's useful to be able to specify an unconditional redirect rule without adding "if TRUE". --- doc/configuration.txt | 6 +++--- src/cfgparse.c | 20 ++++++++------------ src/haproxy.c | 6 ++++-- src/proto_http.c | 11 +++++++---- 4 files changed, 22 insertions(+), 21 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 7e7cc5dcc..b5d1fda18 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -3296,14 +3296,14 @@ rate-limit sessions See also : the "backlog" keyword and the "fe_sess_rate" ACL criterion. -redirect location [code ]