Listing 5. webmaster.cfg for Daily E-mail
# Webmaster Daily Email (webmaster.cfg)
# Created by Gaelyne R. Gasson for "Analyzing
# Web Stats with Analog"
# Customise to suit your requirements.
OUTPUT ascii
# Data is output as ASCII and not HTML.
FROM -00-00-00:-24+01
# Analyze only last 24 hours. Ignore wrap.
LOGFILE /var/log/httpd/access_log
http://main-isp.com
LOGFILE /var/log/httpd/vhost1.com-access_log
http://vhost1.com
LOGFILE /var/log/httpd/vhost2.com-access_log
http://vhost2.com
HOSTNAME "Total Web Activity in last 24 Hours"
BASEURL http://main-isp.com
SUBDIR http://main-isp.com/*
SUBDIR http://vhost1.com/*
SUBDIR http://vhost2.com/*
MARKCHAR "x"
DIRSUFFIX index.html
SUBDOMAIN *.au
GOTOS OFF
RAWBYTES OFF
SEPCHAR,
CASE INSENSITIVE
ASCIIPAGEWIDTH 74
PAGEINCLUDE *.html
PAGEINCLUDE *.htm
PAGEINCLUDE *.php3
REQINCLUDE pages
REQEXCLUDE */global/*
EQEXCLUDE *footer.html
ALL ON
ALLBACK ON
ALLGRAPH p
TIMECOLS PRB
USER off
FILETYPE off
SIZE off
HOST off
MONTHLY off
DAILY off
WEEKLY off
FIVE OFF
QUARTER OFF
HOURLY OFF
DAILY OFF
FILETYPE OFF
SIZE OFF
FULLBROWSER off
DOMAIN off
REFFLOOR 10r
DIRFLOOR 1r
SUBDIRFLOOR 1r
DIRSORTBY alphabetical
SUBDIRSORTBY alphabetical
BROWFLOOR 10r
REQFLOOR 1r
REQSORTBY alphabetical
FULLHOURROWS 24
REFFLOOR 10r
BROWFLOOR 10r
HOSTALIAS *.aol.com aol.com
HOSTALIAS *.delphi.com delphi.com
HOSTEXCLUDE 127.0.0.1
HOSTEXCLUDE main-isp.com
HOSTEXCLUDE vhost1.com
FILEALIAS http://main-isp.com/old.html
http://main-isp.com/new.html
Copyright © 1994 - 2019 Linux Journal. All rights reserved.