Re: haproxy get 502 when downloading large files from IIS

2010-07-14 Thread Willy Tarreau
Hi Xin, On Wed, Jul 14, 2010 at 04:36:47PM -0400, Cheng, Xin [USA] wrote: > Hi, Willy, > > Thank you very much for your help! > We found out the problem is IIS server has wrong setting on NIC speed. > It is not a problem of haproxy. Hehe, I think that the same week I suggested the same issue to

RE: haproxy get 502 when downloading large files from IIS

2010-07-14 Thread Cheng, Xin [USA]
Hi, Willy, Thank you very much for your help! We found out the problem is IIS server has wrong setting on NIC speed. It is not a problem of haproxy. Xin -Original Message- From: Willy Tarreau [mailto:w...@1wt.eu] Sent: Thursday, July 08, 2010 4:55 PM To: Cheng, Xin [USA] Cc: haproxy@fo

querystring append

2010-07-14 Thread Ben Koski
I'm trying to write a conditional reqrep rule (in 1.4) that appends a querystring param. Trouble is that in some cases, the original request might already have a querystring; in others it might not. It seems like I'll need two reqrep rules plus an acl to test whether a queystring exists so that I

Re: acl src limit

2010-07-14 Thread Willy Tarreau
Hi Tom, On Wed, Jul 14, 2010 at 03:01:02PM +, Tom Whitcomb wrote: > Hi, > > I'm using version 1.3.15.6 and am using the "acl X src/block if X" to block > IPs to my site. What is the limit of the number of IPs I can block? The only limit is the size of your RAM to load ACLs and the performa

Re: ACL redirect using GET parameters

2010-07-14 Thread Guy Knights
Thanks Willy, that's just what I was after. Thanks also for your work creating haproxy, it's a great piece of software. Regards, Guy On Wed, Jul 14, 2010 at 5:50 AM, Willy Tarreau wrote: > On Tue, Jul 13, 2010 at 05:24:15PM -0700, Guy Knights wrote: >> Hi all, >> >> I was wondering if it's possi

Re: ACL redirect using GET parameters

2010-07-14 Thread Guy Knights
Thanks Willy, that's just what I was after. Thanks also for your work creating haproxy, it's a great piece of software. Regards, Guy On Wed, Jul 14, 2010 at 5:50 AM, Willy Tarreau wrote: > On Tue, Jul 13, 2010 at 05:24:15PM -0700, Guy Knights wrote: >> Hi all, >> >> I was wondering if it's possi

Re: Load balancing ..

2010-07-14 Thread Graeme Donaldson
Hi What you are trying to achieve is usually called "link aggregation" or "line bonding". This has nothing to do with the load balancing functionality provided by HAProxy. Try these links for more information: http://www.google.com/search?q=adsl+bonding http://www.google.com/search?q=adsl+aggrega

acl src limit

2010-07-14 Thread Tom Whitcomb
Hi, I'm using version 1.3.15.6 and am using the "acl X src/block if X" to block IPs to my site. What is the limit of the number of IPs I can block? Tom

Load balancing ..

2010-07-14 Thread Sabz Host Co.
Hello Sir I search "load balancing" and i found You .. I have 4 adsl account (pppoe) from same ISP with 2mbps means if i download a file i can download with speed 210kb per secound . if i run load balancing these 4 line with your sotware , can i download one file with speed 840kb Per secound ? if

Re: ACL redirect using GET parameters

2010-07-14 Thread Willy Tarreau
On Tue, Jul 13, 2010 at 05:24:15PM -0700, Guy Knights wrote: > Hi all, > > I was wondering if it's possible to redirect requests using an HTTP > query string value? For example, if a request comes in for > www.example.com/index.php?mode=1 then redirect to a different > location? Yes, check the AC

Re: Using haproxy and elastic Ips

2010-07-14 Thread Willy Tarreau
Hi Dmitri, On Tue, Jul 13, 2010 at 06:20:57PM -0700, Dmitri Smirnov wrote: > However, elastic Ips are not exactly what they seem. While the > public DNS names and addresses remain the same, for within > the cloud connections they still resolve to internal 10 dot addresses. > > Those can change wh