Re: Stripping some response headers
Holger, Oh awesome. i took a look through earlier but missed that one. Thanks a bunch -Karl On Mon, Jun 15, 2009 at 11:48 AM, Holger Just wrote: > On 15.06.2009 19:24 Uhr, Karl Pietri wrote: > > Due to some strange things we are doing with our logging we have a bunch > > of info in the response headers that would be nice to strip out before > > sending to the client. Is this possible in haproxy? > > > > Essentially we are logging things like the user_id if logged in by using > > a custom header X-SS-Userid and capturing that. but obviously it isn't > > necessary for the client to get it so would be nice to strip it out. > > > > -Karl > > Hi Karl! > > This sounds like a job for the rspdel / rspidel configuration directive. > For more information have a look at the configuration ducumentation at > > http://haproxy.1wt.eu/download/1.3/doc/configuration.txt > > --Holger > >
Re: Stripping some response headers
On 15.06.2009 19:24 Uhr, Karl Pietri wrote: > Due to some strange things we are doing with our logging we have a bunch > of info in the response headers that would be nice to strip out before > sending to the client. Is this possible in haproxy? > > Essentially we are logging things like the user_id if logged in by using > a custom header X-SS-Userid and capturing that. but obviously it isn't > necessary for the client to get it so would be nice to strip it out. > > -Karl Hi Karl! This sounds like a job for the rspdel / rspidel configuration directive. For more information have a look at the configuration ducumentation at http://haproxy.1wt.eu/download/1.3/doc/configuration.txt --Holger
Stripping some response headers
Due to some strange things we are doing with our logging we have a bunch of info in the response headers that would be nice to strip out before sending to the client. Is this possible in haproxy? Essentially we are logging things like the user_id if logged in by using a custom header X-SS-Userid and capturing that. but obviously it isn't necessary for the client to get it so would be nice to strip it out. -Karl