[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61908] New: Doesn't write remote IP


            Bug ID: 61908
           Summary: Doesn't write remote IP
           Product: Apache httpd-2
           Version: 2.4.27
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_log_config
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: d.tkacik@xxxxxxx
  Target Milestone: ---


I'm not sure if this is a bug or just a miss-configuration from my side.

The problem is the following:

I have this custom log defined at the main httpd.conf

LogFormat "%h (%{X-Forwarded-For}i) %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined

It logs the X-Forwaded-For correctly until I have set the:

RemoteIPHeader X-Forwarded-For

Inside our outside of a virtualhost. 

When RemoteIPHeader X-Forwarded-For is set, apache stops logging the IP.

Thanks !

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx