Re: conditional header manipulation?

From: Willy Tarreau <>
Date: Tue, 29 Apr 2008 11:11:53 +0200

Hi Dan,

On Thu, Apr 24, 2008 at 12:27:30PM -0700, Dan Zubey wrote:
> Hi Willy, et al.
> I'm a bit do I add a header in a response if an acl matches?
> I'm trying to tell haproxy to rspadd Cache-control headers, but only in
> certain backends...however rspadd is not allowed in backends.

rsbadd works on responses, but it does so only for traffic forwarded by haproxy, not responses generated by haproxy. And yes, it works in backends. You just cannot apply ACLs to reponse headers, nor can you set a condition to the rspadd right now.

Willy Received on 2008/04/29 11:11

This archive was generated by hypermail 2.2.0 : 2008/04/29 11:15 CEST