Holger Just <haproxy@...> writes:

> > I want to go to a different set of backends if 
> > x1<0, y1<0 -> backends set 1
> > x1<0, y1>0 -> backends set 2
> > x1>0, y1<0 -> backends set 3
> > x1>0, y1>0 -> 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 [?&]y1=-\d+
> acl y1_gt_0 url_reg [?&]y1=[1-9][0-9]*
> 
> use_backend backend_set_1 if x1_lt_0 y1_lt_0
> use_backend backend_set_2 if x1_lt_0 y1_gt_0
> use_backend backend_set_3 if x1_gt_0 y1_lt_0
> use_backend backend_set_4 if x1_gt_0 y1_gt_0

Thank cool, I get it

How about parsing the same thing but if those have been posted as post, not get.

I have not been able to find information on that.

Is it possible?




Reply via email to