Re: need some help please

2009-12-02 Thread Willy Tarreau
On Wed, Dec 02, 2009 at 07:51:58AM +0200, Paul Roland wrote: > nvm this, sorry. > I was using tcp mode... OK. With 1.4-dev you'd be able to do that in TCP mode, though you'd have to add a statement to wait for an HTTP request. > But I have another question, can I limit connections per ip with ha

RE: need some help please

2009-12-01 Thread Paul Roland
nvm this, sorry. I was using tcp mode... But I have another question, can I limit connections per ip with haproxy? thx On Wed, December 2, 2009 05:29, Paul Roland wrote: > Need some help with config it seems like im doing it wrong... > > I have: > > acl missing_cl hdr_cnt(Content-length) eq 0 >

need some help please

2009-12-01 Thread Paul Roland
Need some help with config it seems like im doing it wrong... I have: acl missing_cl hdr_cnt(Content-length) eq 0 block if HTTP_URL_STAR !METH_OPTIONS || METH_POST missing_cl block if METH_GET HTTP_CONTENT block unless METH_GET or METH_POST or METH_OPTIONS or METH_HEAD That means after reading t