Created
December 6, 2012 21:20
-
-
Save krusynth/4228565 to your computer and use it in GitHub Desktop.
Apache log format that shows the hostname
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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