Re: using ACLs with rspadd

2013-11-07 Thread Will Glass-Husain
Thanks. So essentially I make two different backends, one with the rspi statements and one without, then use the ACL to choose between them. That makes sense. WILL On Mon, Nov 4, 2013 at 7:52 AM, Baptiste wrote: > Hi Will, > > Your using a response rewrite statement while matching a request

Re: using ACLs with rspadd

2013-11-04 Thread Baptiste
Hi Will, Your using a response rewrite statement while matching a request information. The request is not in HAProxy anymore when the rspi* functions are processed by HAProxy. If you want to do this, then I would do a use-backend with the app-api acl, then in this backend, run the rspi* statement

using ACLs with rspadd

2013-10-31 Thread Will Glass-Husain
Hi, Can someone help me understand why I can't use ACL's (in a backend or frontend) with rspidel and rspadd? Specifically what I am trying to do is add a header to a response for specific URLs. Here's the error I get. It works if I leave off "if app-api". [WARNING] 303/235646 (19685) : parsing