nux
10th February 2009, 21:26
Hey, I have a question that resulted from this howto:
http://www.howtoforge.com/how-to-set-up-a-caching-reverse-proxy-with-squid-2.6-on-debian-etch
I am trying to process logs passed to apache from squid with the X-Forwarded-For header.
The issue is sometimes it sends multiple IP addresses, and I want to limit it to sending just the external (or the farthest right) IP. I just want to properly parse the logs with awstats.
Not exactly sure how I would do this.
Any suggestions would be appreciated.
Thanks
http://www.howtoforge.com/how-to-set-up-a-caching-reverse-proxy-with-squid-2.6-on-debian-etch
I am trying to process logs passed to apache from squid with the X-Forwarded-For header.
The issue is sometimes it sends multiple IP addresses, and I want to limit it to sending just the external (or the farthest right) IP. I just want to properly parse the logs with awstats.
Not exactly sure how I would do this.
Any suggestions would be appreciated.
Thanks