[ bujika @ 26.08.2004. 10:15 ] @
Pozdrav! Apache u access log fajlove upisuje kada je pristupano web stranama preko URL adrese, ali ne i preko IP adrese. Kako bih trebao da ga podesim, da mi se vode obe statistike? Hvala unapred! |
[ bujika @ 26.08.2004. 10:15 ] @
[ Jbyn4e @ 26.08.2004. 10:45 ] @
Misllis na access_log i error_log fajlove?
Znaci ispisuje ti nesto ovako: Citat: ppp-np67-205.verat.net - - [26/Aug/2004:11:41:58 +0200] "GET / HTTP/1.1" 304 - Ali ne i nesto ovako: Citat: 65.54.188.51 - - [26/Aug/2004:02:07:02 +0200] "GET / HTTP/1.0" 200 5457 u log fajl? Ili sta si mislio time: Citat: upisuje kada je pristupano web stranama preko URL adrese [ bujika @ 26.08.2004. 11:05 ] @
Problem je sto kada pristupis preko IP adrese, to se ne upise u access-log fajl.
[ Jbyn4e @ 26.08.2004. 11:43 ] @
Hm, mozda te zeza ova direktiva iz httpd.conf:
Citat: # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off ... ili otkud znam.. sto ne das deoaccess_log-a da vidim kako izgleda? [ caiser @ 26.08.2004. 19:42 ] @
Citat: bujika: Problem je sto kada pristupis preko IP adrese, to se ne upise u access-log fajl. Mozda gledas pogresan log fajl. Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|