Bug 61750 - X-Forwarded-For header is missing for webservice calls
Summary: X-Forwarded-For header is missing for webservice calls
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_http (show other bugs)
Version: 2.5-HEAD
Hardware: PC All
: P2 critical (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 05:56 UTC by Surendhar
Modified: 2019-02-21 20:40 UTC (History)
1 user (show)



Attachments
httpd conf file (20.27 KB, text/plain)
2017-11-13 05:56 UTC, Surendhar
Details
trace8 logging (18.74 KB, application/x-zip-compressed)
2017-11-13 14:41 UTC, Surendhar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Surendhar 2017-11-13 05:56:15 UTC
Created attachment 35523 [details]
httpd conf file

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


Please note X-Forwarded-Host is working fine, only X-Forwarded-For is missing. I already posted in "User Support and Discussion", this is not resolved.http://mail-archives.apache.org/mod_mbox/httpd-users/201711.mbox/browser

Attached my httpd.conf file further, I am using apachelounge httpd build https://www.apachelounge.com/

Please review and suggest
Comment 1 Eric Covener 2017-11-13 11:59:54 UTC
errorlog w/ LogLevel trace8 please
Comment 2 Surendhar 2017-11-13 14:39:42 UTC
Hi Eric,

Please find attached Loglevel trace8 for your review. Thanks a lot.

Regards,
Surendhar
Comment 3 Surendhar 2017-11-13 14:41:06 UTC
Created attachment 35524 [details]
trace8 logging