Thanks Willy, that's just what I was after. Thanks also for your work creating haproxy, it's a great piece of software.
Regards, Guy On Wed, Jul 14, 2010 at 5:50 AM, Willy Tarreau <[email protected]> wrote: > On Tue, Jul 13, 2010 at 05:24:15PM -0700, Guy Knights wrote: >> Hi all, >> >> I was wondering if it's possible to redirect requests using an HTTP >> query string value? For example, if a request comes in for >> www.example.com/index.php?mode=1 then redirect to a different >> location? > > Yes, check the ACL keyword in the doc, you can use for instance "url_reg" > and match a regex in the URL, then perform your redirect if the ACL > matches. > > Regards, > Willy > > -- Guy Knights Systems Administrator DES Games www.desgames.com [email protected]

