httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abernathy, Don" <DAberna...@MFS.com>
Subject [users@httpd] Questions on getting Remote Address of client via Apache
Date Sun, 20 Mar 2016 13:15:07 GMT
We are running Apache behind an F5 fronting JAVA Container (WebSphere) and the JAVA code makes
an HttpServletRequest.getRemoteAddr() request to get IP.
The IP I am told is the one that the CGI REMOTE_ADDR server parameter of Apache provides,
but when I try to log that value to see what it is, I get null.
I am under the impression that there is no setting to turn on, but that it should work.
I will note that the Apache I am running is the IBM Version, known as IBM Http Server.

I have asked the my team to look at using X-Forwarded-User, but how would I set it up so that
the query for IP returns that, or do we ask the JAVA Developer to change the
Code to support checking for X-Forwarded-User, NOT getRemoteAddr?

Thanks


Don Abernathy
Group Manager- Web Services
MFS Investment Management
MFS Email system made the following annotation
---------------------------------------------------------------------------------------------------------------------------------------
This email communication and any attachments may contain proprietary, confidential, or privileged
information. If you are not the intended recipient, you are hereby notified that you have
received this email in error and that any review, disclosure, dissemination, distribution
or copying of it or its contents is prohibited. The sender does not waive confidentiality
or any privilege by mistransmission. If you have received this email in error, please notify
the sender immediately, delete this email, and destroy all copies and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message