Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Apache log format that shows the hostname
LogFormat "%h %l %u %t \"%m http://%{Host}i%U %H\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" hostnames
CustomLog "/private/var/log/apache2/access_log" hostnames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment