Re: Question about TCP balancing

2009-08-06 Thread Dmitry Sivachenko
On Thu, Aug 06, 2009 at 12:03:25AM +0200, Willy Tarreau wrote: On Wed, Aug 05, 2009 at 12:01:34PM +0400, Dmitry Sivachenko wrote: On Wed, Aug 05, 2009 at 06:30:39AM +0200, Willy Tarreau wrote: frontend my_front acl near_usable nbsrv(near) ge 2 acl far_usable nbsrv(far) ge 2

Re: disable-on-404

2009-08-06 Thread Kent Noonan
Actually I figured it out with the help from Benoit. It looks like when just specifying the URI haproxy still uses the OPTIONS method to check? For some reason it wasn't returning a 404 error if the file wasn't there, it may be the way IIS works but I don't have anything to test this with. Anyway

balancing the load evenly

2009-08-06 Thread Magnus Hansen @ mingoville
Hello... I am very happy with the haproxy, but the result of my loadbalancing confuses me... I believe my configuration is fine, but one of my servers are getting hit much more than the others I have tried with leastconn, roundrobin, and source. All are producing more or less the

'errorfile' behavior for ACL rules?

2009-08-06 Thread Mathew Hennessy
Hi, I was wondering if there was support within haproxy to return the content of a file as a result of an ACL, similar to how 'errorfile' returns the content of a file when haproxy gets that error from the underlying? For example, I want this to do what I mean: acl under_construction

Multiple config files

2009-08-06 Thread Jeremy
Quick sanity check please ... There doesn't seem to be a way to include multiple config files, just one, right? Sort of like how Apache can include conf.d/*.conf etc. If possible I'd like to set up a separate config file for each site (a frontend + multiple backends) to avoid ending up with a