https://bz.apache.org/bugzilla/show_bug.cgi?id=61908
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: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi,
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: [email protected]
For additional commands, e-mail: [email protected]