use_backend map failing me

2014-09-19 Thread Klavs Klavsen
Hi, I'm running haproxy01 and trying to make this new map feature work, but I get this error: [ALERT] 261/141604 (29621) : Proxy 'cachebackend': unable to find required use_backend: 'bk_%[hdr(host),map(/etc/haproxy/haproxy-backends.map)]'. My config is: frontend cachebackend bind 127.0.0.1:80

Re: use_backend map failing me

2014-09-19 Thread Klavs Klavsen
dooh.. point to correct file and things work.. :) Klavs Klavsen said the following on 09/19/2014 02:18 PM: > Hi, > > I'm running haproxy01 and trying to make this new map feature work, but > I get this error: > > [ALERT] 261/141604 (29621) : Proxy 'cachebackend': unable to find > required use_ba

Re: use_backend map failing me

2014-09-19 Thread Baptiste
On Fri, Sep 19, 2014 at 3:09 PM, Klavs Klavsen wrote: > dooh.. point to correct file and things work.. :) > Hi, I like your config :) Baptiste

Re: use_backend map failing me

2014-09-19 Thread Thomas Heil
Hi, On 19.09.2014 15:12, Baptiste wrote: > On Fri, Sep 19, 2014 at 3:09 PM, Klavs Klavsen wrote: >> dooh.. point to correct file and things work.. :) >> > Hi, > > I like your config :) > > Baptiste > > Maybe this is somewhat better -- use_backend bk_%[hdr(host),lower,map(/etc/haproxy/hap

Re: use_backend map failing me

2014-09-19 Thread Klavs Klavsen
Thomas Heil said the following on 09/19/2014 03:15 PM: [CUT] > Maybe this is somewhat better > -- > use_backend > bk_%[hdr(host),lower,map(/etc/haproxy/haproxy-backends.map)] if TRUE > -- > because its case insensitive about the hostname. > Thank you for that very valuable tip.. :) --

Re: use_backend map failing me

2014-09-22 Thread Thierry FOURNIER
On Fri, 19 Sep 2014 16:09:32 +0200 Klavs Klavsen wrote: > > > Thomas Heil said the following on 09/19/2014 03:15 PM: > [CUT] > > Maybe this is somewhat better > > -- > > use_backend > > bk_%[hdr(host),lower,map(/etc/haproxy/haproxy-backends.map)] if TRUE > > -- > > because its case inse