filtering HTTP HEAD requests

2011-02-04 Thread Jan-Frode Myklebust
We're trying to filter out HTTP HEAD requests using haproxy, to make the proxy behave like shoutcast servers, ref: http://comments.gmane.org/gmane.comp.web.haproxy/2961 We're using haproxy-1.4.8-1.el6.x86_64 (EPEL) and have configured: reqdeny ^HEAD errorfile 403

Re: Error during Apache AB benchmarking test -- HAProxy

2011-02-04 Thread Willy Tarreau
On Thu, Feb 03, 2011 at 09:50:56PM -0800, Amol wrote: I actually see the same error while going to the individual servers as well and i am using apache server Server version: Apache/2.2.14 (Ubuntu) Check if ip_conntrack or nf_conntrack is loaded on your server during your tests. If so, your

Re: Adding backend server as a response header?

2011-02-04 Thread Willy Tarreau
Hi, On Tue, Feb 01, 2011 at 04:08:43PM -0500, Chase Seibert wrote: In this example config, is it possible to insert a custom response header, say X-Backend-Server, with the value of www1 or www2 depending on which server HAProxy routed to? This would be primarily for trouble-shooting

Re: filtering HTTP HEAD requests

2011-02-04 Thread Willy Tarreau
Hi Jan-Frode, On Fri, Feb 04, 2011 at 03:15:49PM +0100, Jan-Frode Myklebust wrote: We're trying to filter out HTTP HEAD requests using haproxy, to make the proxy behave like shoutcast servers, ref: http://comments.gmane.org/gmane.comp.web.haproxy/2961 But why the hell are your trying

Re: Configuration API?

2011-02-04 Thread John Marrett
Check out section 9.2. Unix Socket commands http://haproxy.1wt.eu/download/1.4/doc/configuration.txt -JohnF On 11-02-04 03:40 PM, Joel Krauska wrote: Has there ever been effort in building out a configuration API for HAProxy? It would be nice to be able to tweak configs externally to do

Re: balance (hdr) problem (maybe bug?)

2011-02-04 Thread Willy Tarreau
Hi Craig, On Thu, Feb 03, 2011 at 02:59:40PM +0100, Craig Craig wrote: Hi, I've stumbled upon a problem with balance(hdr), specefically with X-Forwarded-For. When you use the config that I've attached, you get different results wheather you send a X-Forwarded-For or not. The source IP

Re: Configuration API?

2011-02-04 Thread carlo flores
As an example, our shop extends your wish list with the ability to pull stats from the UNIX socket and trigger alerts via Nagios or Cloudkick ass we need. If you want it, easy to add whatever you need to a fork of this. We'll commit it back in: https://github.com/flores/haproxyctl I believe you

Re: HAproxy Tuning - HTTP requests loading serially

2011-02-04 Thread Willy Tarreau
Hi David, On Wed, Feb 02, 2011 at 05:42:20PM -0800, David Tosoff wrote: Thanks Peres, I had tried that already. serv-close actually took my sites and games down to a crawl. I tried pretend keep-alives as well and removing httpclose all together; same result; seems best with httpclose

Win Rs. 50,000 this feb!

2011-02-04 Thread Sanjeev Kumar
To stop further mailings, click here. To report spam, click here. YouMint treats your privacy VERY SERIOUSLY and will take strict action against the sender if you don't know them personally. Win Rs 50,000 in Cash (Tax Free) in February 2011!Hey,YouMint is celebrating 50 Lakh members! The Big

Re: Configuration API?

2011-02-04 Thread Joel Krauska
Awesome - This is a great start. Putting a server in backup or primary mode would be a nice addition. Adding new servers would also be nice, but that's likely to be a harder project. --Joel On 2/4/11 12:46 PM, John Marrett wrote: Check out section 9.2. Unix Socket commands

Re: Configuration API?

2011-02-04 Thread Amol
Try using Hatop...this will do all the things from your list http://feurix.org/projects/hatop/ I am using it, and learning more about it now.. --- On Fri, 2/4/11, Joel Krauska jkrau...@gmail.com wrote: From: Joel Krauska jkrau...@gmail.com Subject: Re: Configuration API? To: John Marrett

Re: Error during Apache AB benchmarking test -- HAProxy

2011-02-04 Thread Amol
Thanks Willy...will give that a try and let you know how it goes --- On Fri, 2/4/11, Willy Tarreau w...@1wt.eu wrote: From: Willy Tarreau w...@1wt.eu Subject: Re: Error during Apache AB benchmarking test -- HAProxy To: Amol mandm_z...@yahoo.com Cc: carlo flores ca...@petalphile.com,