Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Modified log format with virtual host, execution time, and query params
- LogFormat "%v:%p %a %T %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"" local
- # Define an access log for VirtualHosts that don't define their own logfile
- CustomLog /var/log/apache2/access.log local
- cut -dt -f1 access.log | sort | uniq -c
- awk '{print $1}' access.log | sort | uniq -c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement