Forum Discussion
ofilipe_109339
Nimbostratus
Jul 09, 2014X-FORWARDED-FOR AND ERASING SNAT IP FROM APACACHE LOGS
I am using x-forwarded-for and the web server admins would like to not see the snat ip in the logs. Currently I see both the client and snat ip. The client being 208.97.218.10 and snat 10.128.254.1...
Kevin_Stewart
Employee
Jul 09, 2014So what does it look like if you do something like this?
LogFormat "\"%{X-Forwarded-For}i\" %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat ""%{X-Forwarded-For}i\" %l %u %t \"%r\" %>s %b" common
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects