Skip to content

Instantly share code, notes, and snippets.

@jchatard
Created October 29, 2009 15:45
Show Gist options
  • Save jchatard/221535 to your computer and use it in GitHub Desktop.
Save jchatard/221535 to your computer and use it in GitHub Desktop.
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
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
#
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment