On 7/1/13 7:10 PM, Qingshan Xie wrote:
Willy,
To explain my last question "3. Can HAProxy set a default frontend
service?" I list a possible configuration below,
frontend PUBLIC
bind :80
acl rec_w7 path_beg /A
acl rec_w7 path_beg /B
acl rec_w7 path_beg /B
......
use_backend W7-Backend if rec_w7
#Default
#----------------
acl rec_w6 path_beg /*
use_backend W6-Backend if rec_w6
What I want HAProxy does is, if the request does not match any
patterns in /A, /B, /C, ...... can the traffic be sent to the
default, W6-Backend? Is it doable?
https://code.google.com/p/haproxy-docs/wiki/default_backend