compression and q-values?

2014-03-14 Thread Jay Christopherson
It appears that HAproxy is not honoring q-values in the Accept-Encoding header, when requesting compression. When I run a curl command with Accept-Encoding:gzip (no q-value), I get back an expected response: #curl -svo /dev/null "http://something/js/global-main-7b2ca6b.js

logging specific ACLs?

2014-01-20 Thread Jay Christopherson
Is there a way to log specific acl's? I have some ACL's that I'm using to filter specific traffic - something like this: acl forbidden something something acl forbidden something_else something_else acl forbidden this that acl forbidden and_the other block if forbidden On the whole, it seems to

Re: hdr_sub / checking for cookie

2013-05-21 Thread Jay Christopherson
Never mind, seems like hdr_cnt will probably be the best solution here. On Tue, May 21, 2013 at 2:22 PM, Jay Christopherson wrote: > I have a use case where I need to setup an acl to simply check for the > existence of a cookie by name. I don't really care what's in it. I w

hdr_sub / checking for cookie

2013-05-21 Thread Jay Christopherson
I have a use case where I need to setup an acl to simply check for the existence of a cookie by name. I don't really care what's in it. I was thinking to use hdr_sub for this, but part of the syntax seems to be a to look for. In my case, I either don't care what the string is or it might be ran

Re: a cleaner/correct way to filter by IP/destination?

2013-03-13 Thread Jay Christopherson
pplication > servers. > You should better use something like : > block if is_stats !is_owner > > or better: (latest haproxy 1.5): > http-request deny if is_stats !is_owner > > Baptiste > > > On Wed, Mar 13, 2013 at 9:22 PM, Jay Christopherson > wrote: > >

Re: http-server-close

2013-03-01 Thread Jay Christopherson
Ok, that makes sense. Thanks for the help! On Thu, Feb 28, 2013 at 10:44 PM, Willy Tarreau wrote: > Hi Jay, > > On Thu, Feb 28, 2013 at 06:07:28PM -0800, Jay Christopherson wrote: > > I'm brand new to haproxy, having just implemented it this week. So far, > > it&#x

http-server-close

2013-02-28 Thread Jay Christopherson
I'm brand new to haproxy, having just implemented it this week. So far, it's been great. We are using it in front of a series of Apache web servers using mod_php. I've seen some notes around that indicate you can (or should) disable KeepAlive on your Apache servers and use option http-server-clo