January 2004
Intermediate to advanced
464 pages
14h 47m
English
referer_log
This directive causes Squid to create a log file of Referer values from client requests. The
file contains four fields: time, client identifier, Referer value, and the URI request. For
example, when a client requests the image foo.png
embedded in an index.html, the referer log
contains:
1068047502.377 192.168.1.2 /index.html /foo.png
Squid writes an entry for every HTTP request that has a Referer header. Unlike access.log, entries are written to this
file when the request is received.
Syntax | referer_log |
Default | No default |
Example | referer_log /usr/local/squid/var/logs/referer.log |
Related | log_fqdn, cache_access_log, useragent_log |
Read now
Unlock full access