Apache Customlog

Discussion in 'Apache' started by Joyfulrx, Jun 19, 2011.

  1. #1
    Hello!
    I use CustomLog of apache several years:
    But yearsterday i found that at /var/log/httpd/sites.log
    instead of:
    Whats happen? How can i return IP? I need 66.249.66.85(IP) at logs!
    Os Centos 5
    httpd-2.2.3-45.el5.centos.1

    httpd.conf HostnameLookups Off
    Thanks.
    Update: I found: I need change %h to %a, but what happen i don't understand.
     
    Last edited: Jun 19, 2011
    Joyfulrx, Jun 19, 2011 IP