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

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

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 string to look for. In my case, I either don't care what the string is or it might

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 jc.listm...@gmail.comwrote: 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

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

2013-03-13 Thread Jay Christopherson
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 jc.listm...@gmail.com wrote: I'm playing with filter access to a specific URI by IP, like listed below. What

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