Listing 4. Month Example
# VHOST1 Monthly Master file
# Also uses master.cfg and individual page
# .cfg files TO -00-0131
# Counts only to last day of previous month.
ALL OFFa
GENERAL on
MONTHLY on
WEEKLY on
FULLDAILY on
FULLHOURLY on
REQUEST on
ALLGRAPH p
TIMECOLS PRB
WEEKROWS 1
FULLDAYROWS 1
FULLHOURROWS 1
REQFLOOR 1r
# ignore wrapping
LOGFILE /var/log/httpd/vhost1.com-access_log*
http://vhost1.com/
LOGFILE /var/log/old-logs/vhost1.log
http://vhost1.com/
HOSTNAME "Virtual Host Name"
BASEURL http://vhost1.com/
SUBDIR http://vhost1.com/*
DIRSUFFIX index.html
PAGEINCLUDE *.html
PAGEINCLUDE *.shtml
REQINCLUDE pages
REQEXCLUDE *side.html
FILEALIAS http://vhost1.com/old.html
http://vhost1.com/new.html
Copyright © 1994 - 2018 Linux Journal. All rights reserved.