Re: appsession does not work in Haproxy 1.4.9

2010-11-23 Thread Hogan Yu
Hi Willy, Sorry for give your feedback late. I test it several days and it does not work with the new two patchs. It hang two times one day. It still get the errors as follows, haproxy[8728]: segfault at 1e90f000 rip 003ef9c7c51a rsp 7fff80e29208 error 6 haproxy[18325]: segfault

Re: [PATCH] bind non local ip on FreeBSD

2010-11-23 Thread Willy Tarreau
On Tue, Nov 23, 2010 at 05:28:26PM +0300, Alexandre Snarskii wrote: > On Mon, Nov 22, 2010 at 02:03:42PM +0100, joris dedieu wrote: > > Hi list, > > FreeBSD (and maybe other BSD) use IP_BINDANY flag to permite bind() to > > bind a non local ip > > Please note that this flag is available only since

Re: appending to a header

2010-11-23 Thread Willy Tarreau
Hi, On Tue, Nov 23, 2010 at 06:55:18PM -0500, Ben Koski wrote: > I want to append some content to a header that may or may not exist in the > HTTP response. > > Since reqrep only operates once it finds a match, it seems like I need an > ACL plus two rules, something like: > > acl myheader-presen

appending to a header

2010-11-23 Thread Ben Koski
I want to append some content to a header that may or may not exist in the HTTP response. Since reqrep only operates once it finds a match, it seems like I need an ACL plus two rules, something like: acl myheader-present hdr(X-MyHeader) rspirep X-MyHeader:\ (.+) X-MyHeader:\ \1, NewData if myhea

Re: [PATCH] bind non local ip on FreeBSD

2010-11-23 Thread Alexandre Snarskii
On Mon, Nov 22, 2010 at 02:03:42PM +0100, joris dedieu wrote: > Hi list, > FreeBSD (and maybe other BSD) use IP_BINDANY flag to permite bind() to > bind a non local ip Please note that this flag is available only since FreeBSD 8, so your patch will break haproxy builds on older versions, like Fr

Re: [PATCH] bind non local ip on FreeBSD

2010-11-23 Thread joris dedieu
2010/11/22 joris dedieu : > Hi list, > FreeBSD (and maybe other BSD) use IP_BINDANY flag to permite bind() to > bind a non local ip > (ie an ip which is not defined in an interface). In most case, you > will use carp to do so, > but has I needed it without carp, I make a little quick and dirty > pa

IIS7 with IIRF, 403 - Forbidden: Access is denied after HAproxy

2010-11-23 Thread Hanky Cheng(SingTao)
Hi All I have a question about HAproxy with IIS7 & IIRF. As before i running website on IIS7 & IIRF for URLrewrite. Before 1 mth i using HAproxy for loading balance (backend is same server but difference port). After that website show "403 - Forbidden: Access is denied" randomly. Did anyone to