logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Log Shows Dest. IP (Server IP) inplace of Client IP
Author
S Balaraju



Joined: 13 Jan 2017
Posts: 1
Location: India, Hyderabad

PostPosted: Tue 17 Jan '17 14:45    Post subject: Apache Log Shows Dest. IP (Server IP) inplace of Client IP Reply with quote

We have Firewall, Blue Coat, NATING from public IP to Local IP. In the server log it shows server's public IP in place of remote client IP. In the log format it has been tried %h, %X-Forwarded-for, with all the possible formats it is giving the same. Please suggest..
Thanks in advance
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3057
Location: Hilversum, NL, EU

PostPosted: Tue 17 Jan '17 15:28    Post subject: Reply with quote

2.4 .x ?

Have a look at https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html
Back to top


Reply to topic   Topic: Apache Log Shows Dest. IP (Server IP) inplace of Client IP View previous topic :: View next topic
Post new topic   Forum Index -> Apache