Re: It seems HTTP header string exact match failed

2013-12-25 Thread Willy Tarreau
On Wed, Dec 25, 2013 at 10:54:37AM +0800, Delta Yeh wrote: After I add make clean before make TARGET=linux2628 USE_STATIC_PCRE=1 USE_GETADDRINFO=1 USE_OPENSSL=1 USE_ZLIB=1 in the script, haproxy works OK!! But that would seem obvious to me. Maybe you're tracking the git repository and doing

RE: It seems HTTP header string exact match failed

2013-12-24 Thread Lukas Tribus
Hi, dev19 is OK. The config I use is: With your exact configuration (other than changing the server ip) I'm still unable to reproduce the problem:  0002:ap.accept(0004)=0005 from [10.0.0.3:55871]  0002:ap.clireq[0005:]: GET / HTTP/1.1  0002:ap.clihdr[0005:]:

Re: It seems HTTP header string exact match failed

2013-12-24 Thread Delta Yeh
2013/12/24 Lukas Tribus luky...@hotmail.com Hi, dev19 is OK. The config I use is: With your exact configuration (other than changing the server ip) I'm still unable to reproduce the problem: 0002:ap.accept(0004)=0005 from [10.0.0.3:55871] 0002:ap.clireq[0005:]:

Re: It seems HTTP header string exact match failed

2013-12-23 Thread Baptiste
On Mon, Dec 23, 2013 at 8:49 AM, Delta Yeh delta@gmail.com wrote: In my test of 1.5dev21, I found the following acl failed: acl my_host req.hdr(host) -m str www.mytest.com use_backend www if my_host and result in an 503 error(because there is no default backend). I tried : 1.

Re: It seems HTTP header string exact match failed

2013-12-23 Thread Delta Yeh
without -m str, haproxy report error when start: [ALERT] 356/175131 (2416) : parsing [/etc/haproxy/conf/dev21.conf:37] : error detected while parsing ACL 'my_host' : matching method must be specified first (using '-m') when using a sample fetch of this type ('req.hdr'). [ALERT] 356/175131 (2416)

RE: It seems HTTP header string exact match failed

2013-12-23 Thread Lukas Tribus
Hi! In my test of 1.5dev21, I found the following acl failed: acl  my_host req.hdr(host) -m str www.mytest.com    use_backend www if  my_host and result in an 503 error(because there is no default backend). I tried :     1. my_host req.hdr(host) -m beg www.mytest.com     2. my_host

It seems HTTP header string exact match failed

2013-12-22 Thread Delta Yeh
In my test of 1.5dev21, I found the following acl failed: acl my_host req.hdr(host) -m str www.mytest.com use_backend www if my_host and result in an 503 error(because there is no default backend). I tried : 1. my_host req.hdr(host) -m beg www.mytest.com 2. my_host req.hdr(host) -m