Re: add response header based on presence of request header

2014-12-01 Thread Baptiste
Thanks for solution Baptise but why is it consider a dirty hack? I must assume that it may cause problems in a more complex setups. Hi Pavlos, I considered it as a dirty hack because I derouted a feature from its original purpose and I knew there will be features in new release that would

Re: add response header based on presence of request header

2014-12-01 Thread Pavlos Parissis
Στις 1 Δεκ 2014 2:53 ΜΜ, ο χρήστης Baptiste bed...@gmail.com έγραψε: Thanks for solution Baptise but why is it consider a dirty hack? I must assume that it may cause problems in a more complex setups. Hi Pavlos, I considered it as a dirty hack because I derouted a feature from its

Re: add response header based on presence of request header

2014-11-30 Thread Pavlos Parissis
On 28/11/2014 02:44 μμ, Pavlos Parissis wrote: Hi, I want HAProxy to add a response header if request includes a specific header. I implemented the logic [1] but I get the following parsing [/etc/haproxy/haproxy.cfg:77] : acl 'lb_debug' will never match because it only involves keywords

add response header based on presence of request header

2014-11-28 Thread Pavlos Parissis
Hi, I want HAProxy to add a response header if request includes a specific header. I implemented the logic [1] but I get the following parsing [/etc/haproxy/haproxy.cfg:77] : acl 'lb_debug' will never match because it only involves keywords that are incompatible with 'frontend http-response