Re: haproxy content switching on url parameters?

2012-07-29 Thread Holger Just
Reve, On 2012-07-28 19:46, Reve wrote: let's say I have this URL /blah?x1=5x2=-5y1=-1y2=50 I want to go to a different set of backends if x10, y10 - backends set 1 x10, y10 - backends set 2 x10, y10 - backends set 3 x10, y10 - backends set 4 You can't actually parse the URL and match

Re: haproxy content switching on url parameters?

2012-07-29 Thread Reve
Holger Just haproxy@... writes: I want to go to a different set of backends if x10, y10 - backends set 1 x10, y10 - backends set 2 x10, y10 - backends set 3 x10, y10 - backends set 4 acl x1_lt_0 url_reg [?]x1=-\d+ acl x1_gt_0 url_reg [?]x1=[1-9][0-9]* acl y1_lt_0 url_reg