Help get this topic noticed by sharing it on Twitter, Facebook, or email.

X-Forwarded-For (XFF) for apache logs?

I've seen reference to the X-Forwarded-For field being supported for IIS.
Do you also support this for Apache logs?
I've tried to use this as a custom log format:

%t %h [XFF: %{X-Forwarded-For}i] %{HOST}i \"%r\" %>s %b %Ts \"%{Referer}i\" \"%{User-Agent}i\"

..and it doesn't seem to parse out the client IP address correctly. Nor does it report on client browser type.
1 person has
this problem
+1
Reply