How can I log the original clients address from the X-Forwarded-For header?
- I have a proxy or NAT in front of Apache httpd, Tomcat or JBoss. I want access logs to capture the original client ip, which is available in the X-Forwarded-For header, instead of the proxy or NAT'd address.
- JBoss Enterprise Application Platform (EAP)
- JBoss Enterprise Web Server (EWS)
- Apache httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.