So perhaps someone on the users list has an alternative method for addressing the issue we are encountering.

Our setup is that we have Amazon EC2 instances serving our web content. If we logged the request host IP, we would have a log filled with the IP's of the Amazon load balancers. Therefore, we use the XFF HTTP header in our logs.

The issue we are encountering is that if a client makes a request from behind a proxy, the proxy's IP is logged as well. We want to strip out all of the proxy IP's and only record the client IP.

This is what we were hoping to utilize Sed for in our Custom log set up.

Any and all input is appreciated!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 11 | next ›
Discussion Overview
groupusers @
postedJan 27, '10 at 5:35p
activeJan 29, '10 at 7:45p



site design / logo © 2023 Grokbase