Apache httpd mod_remoteip does not work correctly with internal IPs
Issue
- We have configured
mod_remoteip
correctly as per How to use mod_remoteip to get client IP address when Apache httpd is behind a proxy server or load balancer . But, when accessing the site from the intranet, the IP of the proxy (not the IP of the client) is being logged.
Environment
- Red Hat Enterprise Linux (RHEL)
- 7+
- Red Hat Software Collections (RHSCL)
- 2.0+
- Red Hat JBoss Web Server (JWS)
- 3.0+
- JBoss Core Services (JBCS)
- 2.4.23+
- Apache httpd
- 2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.