On Sat, May 5, 2012 at 10:20 AM, Finn Arne Gangstad <fin...@gmail.com>wrote:

> You may be hit by the fact that hdr_dom(host) is sort of broken before
> 1.4.18.  Some clients include the port number in the Host header, and
> hdr_dom() would not match those.  If this is your problem, either upgrade
> haproxy to 1.4.18+, 1.5-dev7+, or you can use one of the following
> workarounds:
>
> Add an explicit match for the port as well:
>
>
> acl is_gateway_bringr hdr_dom(host) -i gateway.brin.gr
> acl is_gateway_bringr hdr_dom(host) -i gateway.brin.gr:80 # Added
> workaround
>
> Or strip away top level domain, and use
>
> acl is_gateway_bringr hdr_dom(host) -i gateway.brin<http://gateway.brin.gr>
>
>
> - Finn Arne
>
>
Hi
Or use hdr_sub as I explained in a previous mail :)

cheers

Reply via email to