Feature/config diff between 1.3/1.4, MySQL ACLs?

2010-03-13 Thread Mathew Hennessy
Hi,
I was wondering if there was a link to a 'manager-friendly' list of 
differences/changes/fixes between 1.3.X stable and 1.4.X stable? Particuarly if 
there are any new deprecated configs (or outright config breakages, as I've had 
at various times with OpenLDAP or Samba)..

Also, I saw a project in Lua to create a MySQL proxy that will actually 
pass traffic based on the SQL command (L7), so for example you can have all 
your SELECT traffic hit only slaves, and UPDATE/INSERT/DELETE traffic hit only 
masters.  I was thinking that could be something doable via ACLs in haproxy..  
Is that supported, or any interest in adding that?

Cheers,
= Matt

ps: Are any of the Haproxy 'appliance' vendors working with VIA 
Padlock-enabled CPUs or other hardware SSL encryption?  I'm considering 
building my own (my current HAProxy instances are on xen VMs) that would hand 
SSL off to stunnel and use the Padlock code that's in openssl and linux kernel 
(or, rather, stunnel would listen on 443 and handoff to HAProxy port 80).


'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 nbsrv(pool) lt 1
printfile ./underconstruction.html if under_construction

So if less than 1 of the members of 'pool' are reported up, emit a
static page without depending on it being available on a pool member or
some remote host that may or may not be available.  

Or is it already there and I'm missing it in the docs?

Thanks,
= MAtt