Re: substring matching backend names...

2016-07-25 Thread Pavlos Parissis
On 10/07/2015 10:32 μμ, Phillip Decker wrote: > Hello again, > > I was migrating a setup from the older style acl-based host to backend > mapping, to the newer > map-based approach, e.g. > > use_backend %[req.hdr(host),lower,map_beg(mapping.conf,default)] > > and that works fine. But now

Re: substring matching backend names...

2015-07-14 Thread Phillip Decker
Tested, and very nice; that works! Thanks so much! Phillip On Sat, Jul 11, 2015 at 2:20 AM, Willy Tarreau w...@1wt.eu wrote: Hi, On Fri, Jul 10, 2015 at 04:32:38PM -0400, Phillip Decker wrote: Hello again, I was migrating a setup from the older style acl-based host to backend

Re: substring matching backend names...

2015-07-11 Thread Willy Tarreau
Hi, On Fri, Jul 10, 2015 at 04:32:38PM -0400, Phillip Decker wrote: Hello again, I was migrating a setup from the older style acl-based host to backend mapping, to the newer map-based approach, e.g. use_backend %[req.hdr(host),lower,map_beg(mapping.conf,default)] and that works fine.

substring matching backend names...

2015-07-10 Thread Phillip Decker
Hello again, I was migrating a setup from the older style acl-based host to backend mapping, to the newer map-based approach, e.g. use_backend %[req.hdr(host),lower,map_beg(mapping.conf,default)] and that works fine. But now I'm tempted to simply name the backends after each servername, (eg.