Hi Malcolm, On Tue, Nov 24, 2009 at 05:42:11PM +0000, Malcolm Turnbull wrote: > We have a customer with a PSP3 web browser client sending TWO refer headers: > > Referer: http://localhost/NetFrontBrowser/ > Referer: http://localhost/Flash/ > > And this is breaking IIS7... > http://forums.iis.net/t/1162919.aspx > > > Could HAProxy be configured to strip extra referer headers? (i.e. only > allow the first one?)
Right now I have nothing simple which comes to mind. One solution might be to always remove the one ending with /Flash (as it seems that it's the flash plugin which is causing the issue). Another solution would be to log the header on haproxy and then rename and/or remove it before passing it to the application server. In case of renaming, I think it will be possible on the server to log it without being perturbated. Regards, Willy