On 07/05/11 21:25, Julien Vehent wrote: > x-forwarded-for is a http header. like any other http header, you can > ask haproxy to log it by using > > frontend XYZ > [...] > option httplog > capture request header X-Forwarded-For len 50 > > > it will appear in the logs in field #14, enclosed between "{}" characters. > http://code.google.com/p/haproxy-docs/wiki/HTTPLogFormat > > > > Julien > >
That will do, thanks! Any comments on the wisdom of apache before haproxy for mod_security? Hugo