All pastes #982174 Raw Edit

Untitled

public text v1 · immutable
·published 2008-04-12 10:04 UTC
rendered paste body
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent


## also i have

CustomLog /var/www/mysite/logs/mylog-combined.log combined

# and what I have in log is:

85.181.x.x - - [12/Apr/2008:08:25:07 -0100] "GET /a/en/c%23/ HTTP/1.1" 200 7081 "http://bla.com/a/en/c/" "Opera/9.26 (Windows NT 6.0; U; en)"
85.181.x.x - - [12/Apr/2008:08:25:13 -0100] "GET /a/en/c%23/ HTTP/1.1" 200 7081 "http://bla.com/a/en/c/" "Opera/9.26 (Windows NT 6.0; U; en)"
85.181.x.x - - [12/Apr/2008:08:25:14 -0100] "GET /favicon.ico HTTP/1.1" 500 698 "http://bla.com/a/en/c%23/" "Opera/9.26 (Windows NT 6.0; U; en)"

# my /etc/timezone :

$ cat /etc/timezone
Europe/Berlin

# date outputs:

$ date
Sat Apr 12 12:02:59 CEST 2008
$ date -R
Sat, 12 Apr 2008 12:03:03 +0200