tags:

views:

40

answers:

0

I am using the following LogFormat in my httpd.conf:

LogFormat "%h %l %u %t \"%r\" %>s \"%{Referer}i\" \"%{User-Agent}i\" %a %t" combined

It's working ok, but for some reason the IP address is coming out as ::1. Is there a particular reason why Apache isn't logging the users IP address?

Edit: Here is an example log:

::1 - - [23/Mar/2010:10:28:59 +0000] "GET /img.gif?x=asdada HTTP/1.1" 404 "http://192.168.1.130/test.html" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6" ::1 [23/Mar/2010:10:28:59 +0000]

Thanks