Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: X-Forwarded-For header is missing |
|
Author |
|
Surendhar
Joined: 07 Nov 2017 Posts: 1 Location: India
|
Posted: Tue 07 Nov '17 9:14 Post subject: X-Forwarded-For header is missing |
|
|
Hi,
I configured apache http web server to redirect incoming WEBSERVICE call to another backend application server, X-Forwarded-For is missing(webserver ip) in backend call.
I have configured below in my webserver httpd.conf file.
ProxyPass /TestProject http://10.160.160.33:2914/TestProject
ProxyPassReverse /TestProject http://10.160.160.33:2914/TestProject
Thanks,
Surendhar |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 21 Nov '17 17:14 Post subject: |
|
|
You can try
RequestHeader setifempty x-forwarded-for %{REMOTE_ADDR}s
if you need to see that IP on the client as well use:
Header add x-forwarded-for %{REMOTE_ADDR}s |
|
Back to top |
|
|
|
|
|
|