Apache LogFormat IP Address
Posted
by Hanpan
on Stack Overflow
See other posts from Stack Overflow
or by Hanpan
Published on 2010-03-23T09:40:48Z
Indexed on
2010/03/23
9:43 UTC
Read the original article
Hit count: 397
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?
Thanks
© Stack Overflow or respective owner