Inserting HTML content

2009-07-14 Thread Jeremy
Can HAProxy insert content into the webpages it serves? I've been asked to see if we could automatically insert some Google Analytics code right above the /BODY tag in any HTML pages that HAProxy serves up. As far as I can tell HAProxy can do replacements on the HTTP headers but not content, is

Re: ACLs + header manipulation

2009-07-14 Thread Holger Just
On 14.07.2009 18:12 Uhr, Jeremy wrote: Is it possible to use 'reqirep' to i.e. rewrite a Host header, only if a certain ACL matches? As far as I can tell it doesn't look like you can combine ACL's with the req* header manipulation commands but I just wanted to double check. Jeremy,