Re: appsession does not work in Haproxy 1.4.9

2010-11-24 Thread Willy Tarreau
Hi Hogan, On Wed, Nov 24, 2010 at 03:32:14PM +0800, Hogan Yu wrote: 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

Re: appsession does not work in Haproxy 1.4.9

2010-11-24 Thread Hogan Yu
Hi Willy, I send you an dump core file and I sure that we have some free memory on our platform. # free -m total used free sharedbuffers cached Mem: 16046 15919127 0365 1729 -/+ buffers/cache: 13824

Re: Meta backend ?

2010-11-24 Thread Krzysztof Olędzki
On 2010-11-18 16:57, Bartłomiej Jarocki wrote: Hi, Hello Bartłomiej, I'm using haproxy for few years on quite big environments so I'd like to say 'BIG THANKS' before asking a question :-) simple scenario: backend www1 [ few hundreds of servers ] backend www2 [ few hundreds

Re: Meta backend ?

2010-11-24 Thread Bartłomiej Jarocki
Currently there is no meta backend functionality, so you need to duplicate your config manually or to write a script that generates it in a desired way. Regarding your concerns related to health checks performance, you can and even should use track backend/server option:

Session Definition

2010-11-24 Thread Richard Shaw
Hi, Could someone please give me the correct definition of a session under HAProxy, i've confused myself! Thanks Richard

bug? reqidel and pcre

2010-11-24 Thread Hank A. Paulson
I have a possible bug, I have a backend I want strip all the X-* headers off the requests. But I found that if I did: reqidel ^X reqidel ^Via:\ or reqdel ^x-.*:\ reqdel ^Via or similar haproxy [1.4.8 (Fedora package version) and hand compiled 1.4.9 version both using pcre] both would not

option httpchk and SSL

2010-11-24 Thread Arthur Richards
Hi, I am running haproxy 1.3.2 as a load balancer for some servers running nginx as an ssl terminator which forwards to squid running as a reverse proxy which falls back to apache. I want to use 'option httpchk' to check whether or not a specific resource is available to our users - the

Re: [SOLVED] Re: appsession does not work in Haproxy 1.4.9

2010-11-24 Thread Hogan Yu
Hi Willy, you are awesome! I am trying it now and give you feedback. Thanks! Hogan On Thu, Nov 25, 2010 at 1:46 AM, Willy Tarreau w...@1wt.eu wrote: Hi Hogan, On Wed, Nov 24, 2010 at 09:33:37PM +0800, Hogan Yu wrote: Hi Willy, I send you an dump core file and I sure that we have

Re: Session Definition

2010-11-24 Thread Willy Tarreau
Hi Richard, On Wed, Nov 24, 2010 at 04:17:31PM +, Richard Shaw wrote: Hi, Could someone please give me the correct definition of a session under HAProxy, i've confused myself! A session is the entity instanciated when an incoming connection is accepted. Until recently, it could only

Re: bug? reqidel and pcre

2010-11-24 Thread Willy Tarreau
Hi guys, On Wed, Nov 24, 2010 at 08:30:38PM +0100, Cyril Bonté wrote: Hi Hank, Le mercredi 24 novembre 2010 19:55:32, Hank A. Paulson a écrit : I have a possible bug, I have a backend I want strip all the X-* headers off the requests. But I found that if I did: reqidel ^X reqidel

Re: option httpchk and SSL

2010-11-24 Thread Willy Tarreau
On Wed, Nov 24, 2010 at 07:24:10PM -0500, John Marrett wrote: Arthur, I believe that you will need to use stunnel in client mode to initiate the ssl connections to the back end. You'll set up multiple instances, presumably on the machine running haproxy, each confired to point to a

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

2010-11-24 Thread Willy Tarreau
On Tue, Nov 23, 2010 at 07:18:11PM +0800, Hanky Cheng(SingTao) wrote: 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

host specific error messages

2010-11-24 Thread Jozsef Rekedt-Nagy
Hello guys, Is it possible to set host specific error files in the config? That is to server /etc/error/503.html for www.this.com but /etc/error/503_alter.html for www.that.com ? If so how? :) Both hosts are served by the same listen directive atm. Was looking at acls and hdr_beg(host) -i,

Re: bug? reqidel and pcre

2010-11-24 Thread Cyril Bonté
Hi Willy and Hank, Le jeudi 25 novembre 2010 07:10:20, Willy Tarreau a écrit : Cyril, Hank is right, there's a bug. Here's how I can reproduce it with both 1.4.9 and 1.5-dev3: Config : listen echo bind:8000 modehttp option http-server-close