Logfileanalyse und -Auswertung mit (Better-)AWStats unter CentOS 7.x

AWStats Logo

WICHTIG:

Dieser Artikel beschreibt nur die technischen Aspekte bei der Auswertung von Logdateien und geht nicht gesondert auf die damit verbundenen Datenschutzrechtlichen Rahmenbedingungen ein!

Vor der Aktivierung von Protokollierungen ist dringend angeraten, sich mit datenschutzrechlichen Rahmenbedingungen wie z.B. rechtliche Hinweise, (Teil-)Annonymisierung von personenbezogenen Daten eingehend zu beschäftigen!

Zum Auswerten unserer Logfiles, wie z.B. Apache-WEB-Server bzw. NGiNX-WEB-Server oder auch Postfix-Mail-Server, verwenden wir AWStats.

Welche Funktionen AWStats im Detail bietet, entnehmen wir entweder der Beschreibung auf der AWStats-Homepage, oder der Beschreibung im RPM-Paket.

 yum info awstats
Name           : awstats
Architektur    : noarch
Version        : 7.3
Ausgabe        : 2.el7
Größe          : 6.5 M
Quelle         : installed
Aus Quelle     : epel
Zusammenfassung: Advanced Web Statistics
URL            : http://awstats.sourceforge.net
Lizenz         : GPLv3+
Beschreibung   : Advanced Web Statistics is a powerful and featureful tool that generates
               : advanced web server graphic statistics. This server log analyzer works
               : from command line or as a CGI and shows you all information your log contains,
               : in graphical web pages. It can analyze a lot of web/wap/proxy servers like
               : Apache, IIS, Weblogic, Webstar, Squid, ... but also mail or ftp servers.

AWStats besteht im Grunde aus zwei Teilen - sprich zwei Perl-Scripten. Das erste Modul erstellt an Hand der gewählten LOG-Files entsprechende zusammengefasste Statistikfiles. Das zweite Script hat dann zur Aufgabe, die vom Script-Nummero 1 bereits aufbereiteten Daten für, oder besser gesagt beim Webzugriff passend darzustellen.

Damit AWStats installiert werden kann, sind folgende Voraussetzungen zu erfüllen:

  1. Es steht ein lauffähiger WEB-Server wie z.B. Apache oder NGiNX,
  2. sowie die Script-Sprache Perl zur Verfügung.
  3. Installation des PHP-Moduls GD.

Diese Punkte sollten keine großen Hürden darstellen, oder? :)

Bei Bedarf installieren wir also noch das besagte PHP-Modul.

 # yum install php-gd

bzw.

 # yum install php70u-gd -y

bei Verwendung von PHP 7.0

Für die Installation von AWStats greifen wir auf das RPM vom Repository EPEL zurück. Somit beschränkt sich die Arbeit auf einen einfachen Aufruf von yum.

 # yum install awstats

Was uns das Paket alles mitbrachte erfahren wir mit folgendem Aufruf.

 # rpm -qil awstats
Name        : awstats
Version     : 7.3
Release     : 2.el7
Architecture: noarch
Install Date: Thu 08 Jan 2015 04:11:12 PM CET
Group       : Applications/Internet
Size        : 6841929
License     : GPLv3+
Signature   : RSA/SHA256, Sat 06 Sep 2014 06:51:45 PM CEST, Key ID 6a2faea2352c64e5
Source RPM  : awstats-7.3-2.el7.src.rpm
Build Date  : Fri 05 Sep 2014 02:12:42 PM CEST
Build Host  : buildvm-18.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://awstats.sourceforge.net
Summary     : Advanced Web Statistics
Description :
Advanced Web Statistics is a powerful and featureful tool that generates
advanced web server graphic statistics. This server log analyzer works
from command line or as a CGI and shows you all information your log contains,
in graphical web pages. It can analyze a lot of web/wap/proxy servers like
Apache, IIS, Weblogic, Webstar, Squid, ... but also mail or ftp servers.

This program can measure visits, unique vistors, authenticated users, pages,
domains/countries, OS busiest times, robot visits, type of files, search
engines/keywords used, visits duration, HTTP errors and more...
Statistics can be updated from a browser or your scheduler.
The program also supports virtual servers, plugins and a lot of features.

With the default configuration, the statistics are available:
http://localhost/awstats/awstats.pl
/etc/awstats
/etc/awstats/awstats.localhost.localdomain.conf
/etc/awstats/awstats.model.conf
/etc/cron.hourly/awstats
/etc/httpd/conf.d/awstats.conf
/usr/share/awstats
/usr/share/awstats/lang
/usr/share/awstats/lang/awstats-al.txt
/usr/share/awstats/lang/awstats-ar.txt
/usr/share/awstats/lang/awstats-ba.txt
/usr/share/awstats/lang/awstats-be.txt
/usr/share/awstats/lang/awstats-bg.txt
/usr/share/awstats/lang/awstats-br.txt
/usr/share/awstats/lang/awstats-bzg.txt
/usr/share/awstats/lang/awstats-ca.txt
/usr/share/awstats/lang/awstats-cn.txt
/usr/share/awstats/lang/awstats-cy.txt
/usr/share/awstats/lang/awstats-cz.txt
/usr/share/awstats/lang/awstats-de.txt
/usr/share/awstats/lang/awstats-dk.txt
/usr/share/awstats/lang/awstats-en.txt
/usr/share/awstats/lang/awstats-es.txt
/usr/share/awstats/lang/awstats-et.txt
/usr/share/awstats/lang/awstats-eu.txt
/usr/share/awstats/lang/awstats-fi.txt
/usr/share/awstats/lang/awstats-fr.txt
/usr/share/awstats/lang/awstats-gl.txt
/usr/share/awstats/lang/awstats-gr.txt
/usr/share/awstats/lang/awstats-he.txt
/usr/share/awstats/lang/awstats-hr.txt
/usr/share/awstats/lang/awstats-hu.txt
/usr/share/awstats/lang/awstats-id.txt
/usr/share/awstats/lang/awstats-is.txt
/usr/share/awstats/lang/awstats-it.txt
/usr/share/awstats/lang/awstats-jp.txt
/usr/share/awstats/lang/awstats-ko.txt
/usr/share/awstats/lang/awstats-lt.txt
/usr/share/awstats/lang/awstats-lv.txt
/usr/share/awstats/lang/awstats-mk.txt
/usr/share/awstats/lang/awstats-nb.txt
/usr/share/awstats/lang/awstats-nl.txt
/usr/share/awstats/lang/awstats-nn.txt
/usr/share/awstats/lang/awstats-pl.txt
/usr/share/awstats/lang/awstats-pt.txt
/usr/share/awstats/lang/awstats-ro.txt
/usr/share/awstats/lang/awstats-ru.txt
/usr/share/awstats/lang/awstats-se.txt
/usr/share/awstats/lang/awstats-si.txt
/usr/share/awstats/lang/awstats-sk.txt
/usr/share/awstats/lang/awstats-sr.txt
/usr/share/awstats/lang/awstats-th.txt
/usr/share/awstats/lang/awstats-tr.txt
/usr/share/awstats/lang/awstats-tw.txt
/usr/share/awstats/lang/awstats-ua.txt
/usr/share/awstats/lang/tooltips_f
/usr/share/awstats/lang/tooltips_f/awstats-tt-br.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-cz.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-en.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-gl.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-gr.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-is.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-it.txt
/usr/share/awstats/lang/tooltips_f/awstats-tt-ru.txt
/usr/share/awstats/lang/tooltips_m
/usr/share/awstats/lang/tooltips_m/awstats-tt-br.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-cz.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-en.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-fr.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-gl.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-gr.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-is.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-it.txt
/usr/share/awstats/lang/tooltips_m/awstats-tt-ru.txt
/usr/share/awstats/lang/tooltips_w
/usr/share/awstats/lang/tooltips_w/awstats-tt-al.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-ba.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-bg.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-br.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-ca.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-cn.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-cz.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-de.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-dk.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-en.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-es.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-fi.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-fr.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-gl.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-gr.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-hu.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-is.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-it.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-jp.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-kr.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-nb.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-nl.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-nn.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-pl.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-ro.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-ru.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-se.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-sk.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-sr.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-tr.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-tw.txt
/usr/share/awstats/lang/tooltips_w/awstats-tt-ua.txt
/usr/share/awstats/lib
/usr/share/awstats/lib/blacklist.txt
/usr/share/awstats/lib/browsers.pm
/usr/share/awstats/lib/browsers_phone.pm
/usr/share/awstats/lib/domains.pm
/usr/share/awstats/lib/mime.pm
/usr/share/awstats/lib/operating_systems.pm
/usr/share/awstats/lib/referer_spam.pm
/usr/share/awstats/lib/robots.pm
/usr/share/awstats/lib/search_engines.pm
/usr/share/awstats/lib/status_http.pm
/usr/share/awstats/lib/status_smtp.pm
/usr/share/awstats/lib/worms.pm
/usr/share/awstats/plugins
/usr/share/awstats/plugins/clusterinfo.pm
/usr/share/awstats/plugins/decodeutfkeys.pm
/usr/share/awstats/plugins/example
/usr/share/awstats/plugins/example/example.pm
/usr/share/awstats/plugins/export_to_csv.pm
/usr/share/awstats/plugins/geoip.pm
/usr/share/awstats/plugins/geoip_asn_maxmind.pm
/usr/share/awstats/plugins/geoip_city_maxmind.pm
/usr/share/awstats/plugins/geoip_isp_maxmind.pm
/usr/share/awstats/plugins/geoip_org_maxmind.pm
/usr/share/awstats/plugins/geoip_region_maxmind.pm
/usr/share/awstats/plugins/geoipfree.pm
/usr/share/awstats/plugins/graphapplet.pm
/usr/share/awstats/plugins/graphgooglechartapi.pm
/usr/share/awstats/plugins/hashfiles.pm
/usr/share/awstats/plugins/hostinfo.pm
/usr/share/awstats/plugins/ipv6.pm
/usr/share/awstats/plugins/rawlog.pm
/usr/share/awstats/plugins/timehires.pm
/usr/share/awstats/plugins/timezone.pm
/usr/share/awstats/plugins/tooltips.pm
/usr/share/awstats/plugins/urlalias.pm
/usr/share/awstats/plugins/userinfo.pm
/usr/share/awstats/tools
/usr/share/awstats/tools/awstats_buildstaticpages.pl
/usr/share/awstats/tools/awstats_configure.pl
/usr/share/awstats/tools/awstats_exportlib.pl
/usr/share/awstats/tools/awstats_updateall.pl
/usr/share/awstats/tools/geoip_generator.pl
/usr/share/awstats/tools/httpd_conf
/usr/share/awstats/tools/logresolvemerge.pl
/usr/share/awstats/tools/maillogconvert.pl
/usr/share/awstats/tools/nginx
/usr/share/awstats/tools/nginx/README.txt
/usr/share/awstats/tools/nginx/awstats-fcgi.php
/usr/share/awstats/tools/nginx/awstats-nginx.conf
/usr/share/awstats/tools/urlaliasbuilder.pl
/usr/share/awstats/tools/webmin
/usr/share/awstats/tools/webmin/.gitignore
/usr/share/awstats/tools/webmin/awstats-2.0.wbm
/usr/share/awstats/tools/xslt
/usr/share/awstats/tools/xslt/README.txt
/usr/share/awstats/tools/xslt/awstats.datademo1.xml
/usr/share/awstats/tools/xslt/awstats.datademo1.xslt
/usr/share/awstats/tools/xslt/awstats.datademo2.xml
/usr/share/awstats/tools/xslt/awstats.datademo2.xslt
/usr/share/awstats/tools/xslt/awstats.xsd
/usr/share/awstats/wwwroot
/usr/share/awstats/wwwroot/cgi-bin
/usr/share/awstats/wwwroot/cgi-bin/awdownloadcsv.pl
/usr/share/awstats/wwwroot/cgi-bin/awredir.pl
/usr/share/awstats/wwwroot/cgi-bin/awstats.pl
/usr/share/awstats/wwwroot/classes
/usr/share/awstats/wwwroot/classes/awgraphapplet.jar
/usr/share/awstats/wwwroot/css
/usr/share/awstats/wwwroot/css/awstats_bw.css
/usr/share/awstats/wwwroot/css/awstats_default.css
/usr/share/awstats/wwwroot/icon
/usr/share/awstats/wwwroot/icon/browser
/usr/share/awstats/wwwroot/icon/browser/abilon.png
/usr/share/awstats/wwwroot/icon/browser/adobe.png
/usr/share/awstats/wwwroot/icon/browser/akregator.png
/usr/share/awstats/wwwroot/icon/browser/alcatel.png
/usr/share/awstats/wwwroot/icon/browser/amaya.png
/usr/share/awstats/wwwroot/icon/browser/amigavoyager.png
/usr/share/awstats/wwwroot/icon/browser/analogx.png
/usr/share/awstats/wwwroot/icon/browser/android.png
/usr/share/awstats/wwwroot/icon/browser/apt.png
/usr/share/awstats/wwwroot/icon/browser/avant.png
/usr/share/awstats/wwwroot/icon/browser/aweb.png
/usr/share/awstats/wwwroot/icon/browser/bpftp.png
/usr/share/awstats/wwwroot/icon/browser/bytel.png
/usr/share/awstats/wwwroot/icon/browser/chimera.png
/usr/share/awstats/wwwroot/icon/browser/chrome.png
/usr/share/awstats/wwwroot/icon/browser/cyberdog.png
/usr/share/awstats/wwwroot/icon/browser/da.png
/usr/share/awstats/wwwroot/icon/browser/dillo.png
/usr/share/awstats/wwwroot/icon/browser/doris.png
/usr/share/awstats/wwwroot/icon/browser/dreamcast.png
/usr/share/awstats/wwwroot/icon/browser/ecatch.png
/usr/share/awstats/wwwroot/icon/browser/encompass.png
/usr/share/awstats/wwwroot/icon/browser/epiphany.png
/usr/share/awstats/wwwroot/icon/browser/ericsson.png
/usr/share/awstats/wwwroot/icon/browser/feeddemon.png
/usr/share/awstats/wwwroot/icon/browser/feedreader.png
/usr/share/awstats/wwwroot/icon/browser/firefox.png
/usr/share/awstats/wwwroot/icon/browser/flashget.png
/usr/share/awstats/wwwroot/icon/browser/flock.png
/usr/share/awstats/wwwroot/icon/browser/fpexpress.png
/usr/share/awstats/wwwroot/icon/browser/fresco.png
/usr/share/awstats/wwwroot/icon/browser/freshdownload.png
/usr/share/awstats/wwwroot/icon/browser/frontpage.png
/usr/share/awstats/wwwroot/icon/browser/galeon.png
/usr/share/awstats/wwwroot/icon/browser/getright.png
/usr/share/awstats/wwwroot/icon/browser/gnome.png
/usr/share/awstats/wwwroot/icon/browser/gnus.png
/usr/share/awstats/wwwroot/icon/browser/gozilla.png
/usr/share/awstats/wwwroot/icon/browser/hotjava.png
/usr/share/awstats/wwwroot/icon/browser/httrack.png
/usr/share/awstats/wwwroot/icon/browser/ibrowse.png
/usr/share/awstats/wwwroot/icon/browser/icab.png
/usr/share/awstats/wwwroot/icon/browser/icecat.png
/usr/share/awstats/wwwroot/icon/browser/iceweasel.png
/usr/share/awstats/wwwroot/icon/browser/java.png
/usr/share/awstats/wwwroot/icon/browser/jetbrains_omea.png
/usr/share/awstats/wwwroot/icon/browser/kmeleon.png
/usr/share/awstats/wwwroot/icon/browser/konqueror.png
/usr/share/awstats/wwwroot/icon/browser/leechget.png
/usr/share/awstats/wwwroot/icon/browser/lg.png
/usr/share/awstats/wwwroot/icon/browser/lotusnotes.png
/usr/share/awstats/wwwroot/icon/browser/lynx.png
/usr/share/awstats/wwwroot/icon/browser/macweb.png
/usr/share/awstats/wwwroot/icon/browser/mediaplayer.png
/usr/share/awstats/wwwroot/icon/browser/motorola.png
/usr/share/awstats/wwwroot/icon/browser/mozilla.png
/usr/share/awstats/wwwroot/icon/browser/mplayer.png
/usr/share/awstats/wwwroot/icon/browser/msie.png
/usr/share/awstats/wwwroot/icon/browser/msie_large.png
/usr/share/awstats/wwwroot/icon/browser/multizilla.png
/usr/share/awstats/wwwroot/icon/browser/ncsa_mosaic.png
/usr/share/awstats/wwwroot/icon/browser/neon.png
/usr/share/awstats/wwwroot/icon/browser/netnewswire.png
/usr/share/awstats/wwwroot/icon/browser/netpositive.png
/usr/share/awstats/wwwroot/icon/browser/netscape.png
/usr/share/awstats/wwwroot/icon/browser/netscape_large.png
/usr/share/awstats/wwwroot/icon/browser/netshow.png
/usr/share/awstats/wwwroot/icon/browser/newsfire.png
/usr/share/awstats/wwwroot/icon/browser/newsgator.png
/usr/share/awstats/wwwroot/icon/browser/newzcrawler.png
/usr/share/awstats/wwwroot/icon/browser/nokia.png
/usr/share/awstats/wwwroot/icon/browser/notavailable.png
/usr/share/awstats/wwwroot/icon/browser/omniweb.png
/usr/share/awstats/wwwroot/icon/browser/opera.png
/usr/share/awstats/wwwroot/icon/browser/panasonic.png
/usr/share/awstats/wwwroot/icon/browser/pdaphone.png
/usr/share/awstats/wwwroot/icon/browser/philips.png
/usr/share/awstats/wwwroot/icon/browser/phoenix.png
/usr/share/awstats/wwwroot/icon/browser/pluck.png
/usr/share/awstats/wwwroot/icon/browser/pulpfiction.png
/usr/share/awstats/wwwroot/icon/browser/real.png
/usr/share/awstats/wwwroot/icon/browser/rss.png
/usr/share/awstats/wwwroot/icon/browser/rssbandit.png
/usr/share/awstats/wwwroot/icon/browser/rssowl.png
/usr/share/awstats/wwwroot/icon/browser/rssreader.png
/usr/share/awstats/wwwroot/icon/browser/rssxpress.png
/usr/share/awstats/wwwroot/icon/browser/safari.png
/usr/share/awstats/wwwroot/icon/browser/sagem.png
/usr/share/awstats/wwwroot/icon/browser/samsung.png
/usr/share/awstats/wwwroot/icon/browser/seamonkey.png
/usr/share/awstats/wwwroot/icon/browser/sharp.png
/usr/share/awstats/wwwroot/icon/browser/sharpreader.png
/usr/share/awstats/wwwroot/icon/browser/shrook.png
/usr/share/awstats/wwwroot/icon/browser/siemens.png
/usr/share/awstats/wwwroot/icon/browser/sony.png
/usr/share/awstats/wwwroot/icon/browser/staroffice.png
/usr/share/awstats/wwwroot/icon/browser/subversion.png
/usr/share/awstats/wwwroot/icon/browser/teleport.png
/usr/share/awstats/wwwroot/icon/browser/trium.png
/usr/share/awstats/wwwroot/icon/browser/unknown.png
/usr/share/awstats/wwwroot/icon/browser/w3c.png
/usr/share/awstats/wwwroot/icon/browser/webcopier.png
/usr/share/awstats/wwwroot/icon/browser/webreaper.png
/usr/share/awstats/wwwroot/icon/browser/webtv.png
/usr/share/awstats/wwwroot/icon/browser/webzip.png
/usr/share/awstats/wwwroot/icon/browser/winxbox.png
/usr/share/awstats/wwwroot/icon/browser/wizz.png
/usr/share/awstats/wwwroot/icon/clock
/usr/share/awstats/wwwroot/icon/clock/hr1.png
/usr/share/awstats/wwwroot/icon/clock/hr10.png
/usr/share/awstats/wwwroot/icon/clock/hr11.png
/usr/share/awstats/wwwroot/icon/clock/hr12.png
/usr/share/awstats/wwwroot/icon/clock/hr2.png
/usr/share/awstats/wwwroot/icon/clock/hr3.png
/usr/share/awstats/wwwroot/icon/clock/hr4.png
/usr/share/awstats/wwwroot/icon/clock/hr5.png
/usr/share/awstats/wwwroot/icon/clock/hr6.png
/usr/share/awstats/wwwroot/icon/clock/hr7.png
/usr/share/awstats/wwwroot/icon/clock/hr8.png
/usr/share/awstats/wwwroot/icon/clock/hr9.png
/usr/share/awstats/wwwroot/icon/cpu
/usr/share/awstats/wwwroot/icon/cpu/digital.png
/usr/share/awstats/wwwroot/icon/cpu/hp.png
/usr/share/awstats/wwwroot/icon/cpu/ibm.png
/usr/share/awstats/wwwroot/icon/cpu/intel.png
/usr/share/awstats/wwwroot/icon/cpu/java.png
/usr/share/awstats/wwwroot/icon/cpu/mips.png
/usr/share/awstats/wwwroot/icon/cpu/motorola.png
/usr/share/awstats/wwwroot/icon/cpu/sun.png
/usr/share/awstats/wwwroot/icon/cpu/unknown.png
/usr/share/awstats/wwwroot/icon/flags
/usr/share/awstats/wwwroot/icon/flags/a2.png
/usr/share/awstats/wwwroot/icon/flags/ac.png
/usr/share/awstats/wwwroot/icon/flags/ad.png
/usr/share/awstats/wwwroot/icon/flags/ae.png
/usr/share/awstats/wwwroot/icon/flags/aero.png
/usr/share/awstats/wwwroot/icon/flags/af.png
/usr/share/awstats/wwwroot/icon/flags/ag.png
/usr/share/awstats/wwwroot/icon/flags/ai.png
/usr/share/awstats/wwwroot/icon/flags/al.png
/usr/share/awstats/wwwroot/icon/flags/am.png
/usr/share/awstats/wwwroot/icon/flags/an.png
/usr/share/awstats/wwwroot/icon/flags/ao.png
/usr/share/awstats/wwwroot/icon/flags/aq.png
/usr/share/awstats/wwwroot/icon/flags/ar.png
/usr/share/awstats/wwwroot/icon/flags/arpa.png
/usr/share/awstats/wwwroot/icon/flags/as.png
/usr/share/awstats/wwwroot/icon/flags/at.png
/usr/share/awstats/wwwroot/icon/flags/au.png
/usr/share/awstats/wwwroot/icon/flags/aw.png
/usr/share/awstats/wwwroot/icon/flags/ax.png
/usr/share/awstats/wwwroot/icon/flags/az.png
/usr/share/awstats/wwwroot/icon/flags/ba.png
/usr/share/awstats/wwwroot/icon/flags/bb.png
/usr/share/awstats/wwwroot/icon/flags/bd.png
/usr/share/awstats/wwwroot/icon/flags/be.png
/usr/share/awstats/wwwroot/icon/flags/bf.png
/usr/share/awstats/wwwroot/icon/flags/bg.png
/usr/share/awstats/wwwroot/icon/flags/bh.png
/usr/share/awstats/wwwroot/icon/flags/bi.png
/usr/share/awstats/wwwroot/icon/flags/biz.png
/usr/share/awstats/wwwroot/icon/flags/bj.png
/usr/share/awstats/wwwroot/icon/flags/bm.png
/usr/share/awstats/wwwroot/icon/flags/bn.png
/usr/share/awstats/wwwroot/icon/flags/bo.png
/usr/share/awstats/wwwroot/icon/flags/br.png
/usr/share/awstats/wwwroot/icon/flags/bs.png
/usr/share/awstats/wwwroot/icon/flags/bt.png
/usr/share/awstats/wwwroot/icon/flags/bv.png
/usr/share/awstats/wwwroot/icon/flags/bw.png
/usr/share/awstats/wwwroot/icon/flags/by.png
/usr/share/awstats/wwwroot/icon/flags/bz.png
/usr/share/awstats/wwwroot/icon/flags/ca.png
/usr/share/awstats/wwwroot/icon/flags/cc.png
/usr/share/awstats/wwwroot/icon/flags/cd.png
/usr/share/awstats/wwwroot/icon/flags/cf.png
/usr/share/awstats/wwwroot/icon/flags/cg.png
/usr/share/awstats/wwwroot/icon/flags/ch.png
/usr/share/awstats/wwwroot/icon/flags/ci.png
/usr/share/awstats/wwwroot/icon/flags/ck.png
/usr/share/awstats/wwwroot/icon/flags/cl.png
/usr/share/awstats/wwwroot/icon/flags/cm.png
/usr/share/awstats/wwwroot/icon/flags/cn.png
/usr/share/awstats/wwwroot/icon/flags/co.png
/usr/share/awstats/wwwroot/icon/flags/com.png
/usr/share/awstats/wwwroot/icon/flags/coop.png
/usr/share/awstats/wwwroot/icon/flags/cr.png
/usr/share/awstats/wwwroot/icon/flags/cs.png
/usr/share/awstats/wwwroot/icon/flags/cu.png
/usr/share/awstats/wwwroot/icon/flags/cv.png
/usr/share/awstats/wwwroot/icon/flags/cx.png
/usr/share/awstats/wwwroot/icon/flags/cy.png
/usr/share/awstats/wwwroot/icon/flags/cz.png
/usr/share/awstats/wwwroot/icon/flags/de.png
/usr/share/awstats/wwwroot/icon/flags/dj.png
/usr/share/awstats/wwwroot/icon/flags/dk.png
/usr/share/awstats/wwwroot/icon/flags/dm.png
/usr/share/awstats/wwwroot/icon/flags/do.png
/usr/share/awstats/wwwroot/icon/flags/dz.png
/usr/share/awstats/wwwroot/icon/flags/ec.png
/usr/share/awstats/wwwroot/icon/flags/edu.png
/usr/share/awstats/wwwroot/icon/flags/ee.png
/usr/share/awstats/wwwroot/icon/flags/eg.png
/usr/share/awstats/wwwroot/icon/flags/eh.png
/usr/share/awstats/wwwroot/icon/flags/en.png
/usr/share/awstats/wwwroot/icon/flags/er.png
/usr/share/awstats/wwwroot/icon/flags/es.png
/usr/share/awstats/wwwroot/icon/flags/es_cat.png
/usr/share/awstats/wwwroot/icon/flags/es_eu.png
/usr/share/awstats/wwwroot/icon/flags/et.png
/usr/share/awstats/wwwroot/icon/flags/eu.png
/usr/share/awstats/wwwroot/icon/flags/fi.png
/usr/share/awstats/wwwroot/icon/flags/fj.png
/usr/share/awstats/wwwroot/icon/flags/fk.png
/usr/share/awstats/wwwroot/icon/flags/fm.png
/usr/share/awstats/wwwroot/icon/flags/fo.png
/usr/share/awstats/wwwroot/icon/flags/fr.png
/usr/share/awstats/wwwroot/icon/flags/fx.png
/usr/share/awstats/wwwroot/icon/flags/ga.png
/usr/share/awstats/wwwroot/icon/flags/gb.png
/usr/share/awstats/wwwroot/icon/flags/gd.png
/usr/share/awstats/wwwroot/icon/flags/ge.png
/usr/share/awstats/wwwroot/icon/flags/gf.png
/usr/share/awstats/wwwroot/icon/flags/gg.png
/usr/share/awstats/wwwroot/icon/flags/gh.png
/usr/share/awstats/wwwroot/icon/flags/gi.png
/usr/share/awstats/wwwroot/icon/flags/gl.png
/usr/share/awstats/wwwroot/icon/flags/glg.png
/usr/share/awstats/wwwroot/icon/flags/gm.png
/usr/share/awstats/wwwroot/icon/flags/gn.png
/usr/share/awstats/wwwroot/icon/flags/gov.png
/usr/share/awstats/wwwroot/icon/flags/gp.png
/usr/share/awstats/wwwroot/icon/flags/gq.png
/usr/share/awstats/wwwroot/icon/flags/gr.png
/usr/share/awstats/wwwroot/icon/flags/gs.png
/usr/share/awstats/wwwroot/icon/flags/gt.png
/usr/share/awstats/wwwroot/icon/flags/gu.png
/usr/share/awstats/wwwroot/icon/flags/gw.png
/usr/share/awstats/wwwroot/icon/flags/gy.png
/usr/share/awstats/wwwroot/icon/flags/hk.png
/usr/share/awstats/wwwroot/icon/flags/hm.png
/usr/share/awstats/wwwroot/icon/flags/hn.png
/usr/share/awstats/wwwroot/icon/flags/hr.png
/usr/share/awstats/wwwroot/icon/flags/ht.png
/usr/share/awstats/wwwroot/icon/flags/hu.png
/usr/share/awstats/wwwroot/icon/flags/i0.png
/usr/share/awstats/wwwroot/icon/flags/id.png
/usr/share/awstats/wwwroot/icon/flags/ie.png
/usr/share/awstats/wwwroot/icon/flags/il.png
/usr/share/awstats/wwwroot/icon/flags/im.png
/usr/share/awstats/wwwroot/icon/flags/in.png
/usr/share/awstats/wwwroot/icon/flags/info.png
/usr/share/awstats/wwwroot/icon/flags/int.png
/usr/share/awstats/wwwroot/icon/flags/io.png
/usr/share/awstats/wwwroot/icon/flags/ip.png
/usr/share/awstats/wwwroot/icon/flags/iq.png
/usr/share/awstats/wwwroot/icon/flags/ir.png
/usr/share/awstats/wwwroot/icon/flags/is.png
/usr/share/awstats/wwwroot/icon/flags/it.png
/usr/share/awstats/wwwroot/icon/flags/jm.png
/usr/share/awstats/wwwroot/icon/flags/jo.png
/usr/share/awstats/wwwroot/icon/flags/jp.png
/usr/share/awstats/wwwroot/icon/flags/ke.png
/usr/share/awstats/wwwroot/icon/flags/kg.png
/usr/share/awstats/wwwroot/icon/flags/kh.png
/usr/share/awstats/wwwroot/icon/flags/ki.png
/usr/share/awstats/wwwroot/icon/flags/km.png
/usr/share/awstats/wwwroot/icon/flags/kn.png
/usr/share/awstats/wwwroot/icon/flags/kp.png
/usr/share/awstats/wwwroot/icon/flags/kr.png
/usr/share/awstats/wwwroot/icon/flags/kw.png
/usr/share/awstats/wwwroot/icon/flags/ky.png
/usr/share/awstats/wwwroot/icon/flags/kz.png
/usr/share/awstats/wwwroot/icon/flags/la.png
/usr/share/awstats/wwwroot/icon/flags/lb.png
/usr/share/awstats/wwwroot/icon/flags/lc.png
/usr/share/awstats/wwwroot/icon/flags/li.png
/usr/share/awstats/wwwroot/icon/flags/lk.png
/usr/share/awstats/wwwroot/icon/flags/lr.png
/usr/share/awstats/wwwroot/icon/flags/ls.png
/usr/share/awstats/wwwroot/icon/flags/lt.png
/usr/share/awstats/wwwroot/icon/flags/lu.png
/usr/share/awstats/wwwroot/icon/flags/lv.png
/usr/share/awstats/wwwroot/icon/flags/ly.png
/usr/share/awstats/wwwroot/icon/flags/ma.png
/usr/share/awstats/wwwroot/icon/flags/mc.png
/usr/share/awstats/wwwroot/icon/flags/md.png
/usr/share/awstats/wwwroot/icon/flags/me.png
/usr/share/awstats/wwwroot/icon/flags/mg.png
/usr/share/awstats/wwwroot/icon/flags/mil.png
/usr/share/awstats/wwwroot/icon/flags/mk.png
/usr/share/awstats/wwwroot/icon/flags/ml.png
/usr/share/awstats/wwwroot/icon/flags/mm.png
/usr/share/awstats/wwwroot/icon/flags/mn.png
/usr/share/awstats/wwwroot/icon/flags/mo.png
/usr/share/awstats/wwwroot/icon/flags/mp.png
/usr/share/awstats/wwwroot/icon/flags/mq.png
/usr/share/awstats/wwwroot/icon/flags/mr.png
/usr/share/awstats/wwwroot/icon/flags/ms.png
/usr/share/awstats/wwwroot/icon/flags/mt.png
/usr/share/awstats/wwwroot/icon/flags/mu.png
/usr/share/awstats/wwwroot/icon/flags/museum.png
/usr/share/awstats/wwwroot/icon/flags/mv.png
/usr/share/awstats/wwwroot/icon/flags/mw.png
/usr/share/awstats/wwwroot/icon/flags/mx.png
/usr/share/awstats/wwwroot/icon/flags/my.png
/usr/share/awstats/wwwroot/icon/flags/mz.png
/usr/share/awstats/wwwroot/icon/flags/na.png
/usr/share/awstats/wwwroot/icon/flags/name.png
/usr/share/awstats/wwwroot/icon/flags/nato.png
/usr/share/awstats/wwwroot/icon/flags/nb.png
/usr/share/awstats/wwwroot/icon/flags/nc.png
/usr/share/awstats/wwwroot/icon/flags/ne.png
/usr/share/awstats/wwwroot/icon/flags/net.png
/usr/share/awstats/wwwroot/icon/flags/ng.png
/usr/share/awstats/wwwroot/icon/flags/ni.png
/usr/share/awstats/wwwroot/icon/flags/nl.png
/usr/share/awstats/wwwroot/icon/flags/nn.png
/usr/share/awstats/wwwroot/icon/flags/no.png
/usr/share/awstats/wwwroot/icon/flags/np.png
/usr/share/awstats/wwwroot/icon/flags/nr.png
/usr/share/awstats/wwwroot/icon/flags/nt.png
/usr/share/awstats/wwwroot/icon/flags/nu.png
/usr/share/awstats/wwwroot/icon/flags/nz.png
/usr/share/awstats/wwwroot/icon/flags/om.png
/usr/share/awstats/wwwroot/icon/flags/org.png
/usr/share/awstats/wwwroot/icon/flags/pa.png
/usr/share/awstats/wwwroot/icon/flags/pe.png
/usr/share/awstats/wwwroot/icon/flags/pf.png
/usr/share/awstats/wwwroot/icon/flags/pg.png
/usr/share/awstats/wwwroot/icon/flags/ph.png
/usr/share/awstats/wwwroot/icon/flags/pk.png
/usr/share/awstats/wwwroot/icon/flags/pl.png
/usr/share/awstats/wwwroot/icon/flags/pr.png
/usr/share/awstats/wwwroot/icon/flags/pro.png
/usr/share/awstats/wwwroot/icon/flags/ps.png
/usr/share/awstats/wwwroot/icon/flags/pt.png
/usr/share/awstats/wwwroot/icon/flags/py.png
/usr/share/awstats/wwwroot/icon/flags/qa.png
/usr/share/awstats/wwwroot/icon/flags/re.png
/usr/share/awstats/wwwroot/icon/flags/ro.png
/usr/share/awstats/wwwroot/icon/flags/rs.png
/usr/share/awstats/wwwroot/icon/flags/ru.png
/usr/share/awstats/wwwroot/icon/flags/rw.png
/usr/share/awstats/wwwroot/icon/flags/sa.png
/usr/share/awstats/wwwroot/icon/flags/sb.png
/usr/share/awstats/wwwroot/icon/flags/sc.png
/usr/share/awstats/wwwroot/icon/flags/sd.png
/usr/share/awstats/wwwroot/icon/flags/se.png
/usr/share/awstats/wwwroot/icon/flags/sg.png
/usr/share/awstats/wwwroot/icon/flags/si.png
/usr/share/awstats/wwwroot/icon/flags/sk.png
/usr/share/awstats/wwwroot/icon/flags/sl.png
/usr/share/awstats/wwwroot/icon/flags/sm.png
/usr/share/awstats/wwwroot/icon/flags/sn.png
/usr/share/awstats/wwwroot/icon/flags/sr.png
/usr/share/awstats/wwwroot/icon/flags/st.png
/usr/share/awstats/wwwroot/icon/flags/su.png
/usr/share/awstats/wwwroot/icon/flags/sv.png
/usr/share/awstats/wwwroot/icon/flags/sy.png
/usr/share/awstats/wwwroot/icon/flags/sz.png
/usr/share/awstats/wwwroot/icon/flags/tc.png
/usr/share/awstats/wwwroot/icon/flags/td.png
/usr/share/awstats/wwwroot/icon/flags/tf.png
/usr/share/awstats/wwwroot/icon/flags/tg.png
/usr/share/awstats/wwwroot/icon/flags/th.png
/usr/share/awstats/wwwroot/icon/flags/tk.png
/usr/share/awstats/wwwroot/icon/flags/tm.png
/usr/share/awstats/wwwroot/icon/flags/tn.png
/usr/share/awstats/wwwroot/icon/flags/to.png
/usr/share/awstats/wwwroot/icon/flags/tr.png
/usr/share/awstats/wwwroot/icon/flags/tt.png
/usr/share/awstats/wwwroot/icon/flags/tv.png
/usr/share/awstats/wwwroot/icon/flags/tw.png
/usr/share/awstats/wwwroot/icon/flags/tz.png
/usr/share/awstats/wwwroot/icon/flags/ua.png
/usr/share/awstats/wwwroot/icon/flags/ug.png
/usr/share/awstats/wwwroot/icon/flags/uk.png
/usr/share/awstats/wwwroot/icon/flags/um.png
/usr/share/awstats/wwwroot/icon/flags/unknown.png
/usr/share/awstats/wwwroot/icon/flags/us.png
/usr/share/awstats/wwwroot/icon/flags/uy.png
/usr/share/awstats/wwwroot/icon/flags/uz.png
/usr/share/awstats/wwwroot/icon/flags/va.png
/usr/share/awstats/wwwroot/icon/flags/vc.png
/usr/share/awstats/wwwroot/icon/flags/ve.png
/usr/share/awstats/wwwroot/icon/flags/vg.png
/usr/share/awstats/wwwroot/icon/flags/vi.png
/usr/share/awstats/wwwroot/icon/flags/vn.png
/usr/share/awstats/wwwroot/icon/flags/vu.png
/usr/share/awstats/wwwroot/icon/flags/wf.png
/usr/share/awstats/wwwroot/icon/flags/wlk.png
/usr/share/awstats/wwwroot/icon/flags/ws.png
/usr/share/awstats/wwwroot/icon/flags/ye.png
/usr/share/awstats/wwwroot/icon/flags/yt.png
/usr/share/awstats/wwwroot/icon/flags/yu.png
/usr/share/awstats/wwwroot/icon/flags/za.png
/usr/share/awstats/wwwroot/icon/flags/ze.png
/usr/share/awstats/wwwroot/icon/flags/zm.png
/usr/share/awstats/wwwroot/icon/flags/zw.png
/usr/share/awstats/wwwroot/icon/mime
/usr/share/awstats/wwwroot/icon/mime/ai.png
/usr/share/awstats/wwwroot/icon/mime/archive.png
/usr/share/awstats/wwwroot/icon/mime/audio.png
/usr/share/awstats/wwwroot/icon/mime/crystal.png
/usr/share/awstats/wwwroot/icon/mime/css.png
/usr/share/awstats/wwwroot/icon/mime/csv.png
/usr/share/awstats/wwwroot/icon/mime/doc.png
/usr/share/awstats/wwwroot/icon/mime/document.png
/usr/share/awstats/wwwroot/icon/mime/dotnet.png
/usr/share/awstats/wwwroot/icon/mime/encrypt.png
/usr/share/awstats/wwwroot/icon/mime/flash.png
/usr/share/awstats/wwwroot/icon/mime/glasses.png
/usr/share/awstats/wwwroot/icon/mime/html.png
/usr/share/awstats/wwwroot/icon/mime/image.png
/usr/share/awstats/wwwroot/icon/mime/jnlp.png
/usr/share/awstats/wwwroot/icon/mime/jscript.png
/usr/share/awstats/wwwroot/icon/mime/library.png
/usr/share/awstats/wwwroot/icon/mime/lit.png
/usr/share/awstats/wwwroot/icon/mime/mdb.png
/usr/share/awstats/wwwroot/icon/mime/notavailable.png
/usr/share/awstats/wwwroot/icon/mime/ooffice.png
/usr/share/awstats/wwwroot/icon/mime/other.png
/usr/share/awstats/wwwroot/icon/mime/page.png
/usr/share/awstats/wwwroot/icon/mime/pdf.png
/usr/share/awstats/wwwroot/icon/mime/php.png
/usr/share/awstats/wwwroot/icon/mime/phshop.png
/usr/share/awstats/wwwroot/icon/mime/pl.png
/usr/share/awstats/wwwroot/icon/mime/ppt.png
/usr/share/awstats/wwwroot/icon/mime/quicktime.png
/usr/share/awstats/wwwroot/icon/mime/rar.png
/usr/share/awstats/wwwroot/icon/mime/readme.txt
/usr/share/awstats/wwwroot/icon/mime/real.png
/usr/share/awstats/wwwroot/icon/mime/rss.png
/usr/share/awstats/wwwroot/icon/mime/runtime.png
/usr/share/awstats/wwwroot/icon/mime/script.png
/usr/share/awstats/wwwroot/icon/mime/svg.png
/usr/share/awstats/wwwroot/icon/mime/text.png
/usr/share/awstats/wwwroot/icon/mime/ttf.png
/usr/share/awstats/wwwroot/icon/mime/unknown.png
/usr/share/awstats/wwwroot/icon/mime/video.png
/usr/share/awstats/wwwroot/icon/mime/wmv.png
/usr/share/awstats/wwwroot/icon/mime/xls.png
/usr/share/awstats/wwwroot/icon/mime/xsl.png
/usr/share/awstats/wwwroot/icon/os
/usr/share/awstats/wwwroot/icon/os/aix.png
/usr/share/awstats/wwwroot/icon/os/amigaos.png
/usr/share/awstats/wwwroot/icon/os/apple.png
/usr/share/awstats/wwwroot/icon/os/atari.png
/usr/share/awstats/wwwroot/icon/os/beos.png
/usr/share/awstats/wwwroot/icon/os/blackberry.png
/usr/share/awstats/wwwroot/icon/os/bsd.png
/usr/share/awstats/wwwroot/icon/os/bsddflybsd.png
/usr/share/awstats/wwwroot/icon/os/bsdfreebsd.png
/usr/share/awstats/wwwroot/icon/os/bsdi.png
/usr/share/awstats/wwwroot/icon/os/bsdkfreebsd.png
/usr/share/awstats/wwwroot/icon/os/bsdnetbsd.png
/usr/share/awstats/wwwroot/icon/os/bsdopenbsd.png
/usr/share/awstats/wwwroot/icon/os/commodore.png
/usr/share/awstats/wwwroot/icon/os/cpm.png
/usr/share/awstats/wwwroot/icon/os/debian.png
/usr/share/awstats/wwwroot/icon/os/digital.png
/usr/share/awstats/wwwroot/icon/os/dos.png
/usr/share/awstats/wwwroot/icon/os/dreamcast.png
/usr/share/awstats/wwwroot/icon/os/freebsd.png
/usr/share/awstats/wwwroot/icon/os/gnu.png
/usr/share/awstats/wwwroot/icon/os/hpux.png
/usr/share/awstats/wwwroot/icon/os/ibm.png
/usr/share/awstats/wwwroot/icon/os/imode.png
/usr/share/awstats/wwwroot/icon/os/inferno.png
/usr/share/awstats/wwwroot/icon/os/ios.png
/usr/share/awstats/wwwroot/icon/os/iphone.png
/usr/share/awstats/wwwroot/icon/os/irix.png
/usr/share/awstats/wwwroot/icon/os/j2me.png
/usr/share/awstats/wwwroot/icon/os/java.png
/usr/share/awstats/wwwroot/icon/os/kfreebsd.png
/usr/share/awstats/wwwroot/icon/os/linux.png
/usr/share/awstats/wwwroot/icon/os/linuxandroid.png
/usr/share/awstats/wwwroot/icon/os/linuxasplinux.png
/usr/share/awstats/wwwroot/icon/os/linuxcentos.png
/usr/share/awstats/wwwroot/icon/os/linuxdebian.png
/usr/share/awstats/wwwroot/icon/os/linuxfedora.png
/usr/share/awstats/wwwroot/icon/os/linuxgentoo.png
/usr/share/awstats/wwwroot/icon/os/linuxmandr.png
/usr/share/awstats/wwwroot/icon/os/linuxpclinuxos.png
/usr/share/awstats/wwwroot/icon/os/linuxredhat.png
/usr/share/awstats/wwwroot/icon/os/linuxsuse.png
/usr/share/awstats/wwwroot/icon/os/linuxubuntu.png
/usr/share/awstats/wwwroot/icon/os/linuxvine.png
/usr/share/awstats/wwwroot/icon/os/linuxzenwalk.png
/usr/share/awstats/wwwroot/icon/os/mac.png
/usr/share/awstats/wwwroot/icon/os/macintosh.png
/usr/share/awstats/wwwroot/icon/os/macosx.png
/usr/share/awstats/wwwroot/icon/os/macosx4.png
/usr/share/awstats/wwwroot/icon/os/macosx5.png
/usr/share/awstats/wwwroot/icon/os/macosx6.png
/usr/share/awstats/wwwroot/icon/os/macosx7.png
/usr/share/awstats/wwwroot/icon/os/macosx8.png
/usr/share/awstats/wwwroot/icon/os/macosx9.png
/usr/share/awstats/wwwroot/icon/os/netbsd.png
/usr/share/awstats/wwwroot/icon/os/netware.png
/usr/share/awstats/wwwroot/icon/os/next.png
/usr/share/awstats/wwwroot/icon/os/openbsd.png
/usr/share/awstats/wwwroot/icon/os/os2.png
/usr/share/awstats/wwwroot/icon/os/osf.png
/usr/share/awstats/wwwroot/icon/os/palmos.png
/usr/share/awstats/wwwroot/icon/os/psp.png
/usr/share/awstats/wwwroot/icon/os/qnx.png
/usr/share/awstats/wwwroot/icon/os/riscos.png
/usr/share/awstats/wwwroot/icon/os/sco.png
/usr/share/awstats/wwwroot/icon/os/sunos.png
/usr/share/awstats/wwwroot/icon/os/syllable.png
/usr/share/awstats/wwwroot/icon/os/symbian.png
/usr/share/awstats/wwwroot/icon/os/unix.png
/usr/share/awstats/wwwroot/icon/os/unknown.png
/usr/share/awstats/wwwroot/icon/os/vms.png
/usr/share/awstats/wwwroot/icon/os/webtv.png
/usr/share/awstats/wwwroot/icon/os/wii.png
/usr/share/awstats/wwwroot/icon/os/win.png
/usr/share/awstats/wwwroot/icon/os/win16.png
/usr/share/awstats/wwwroot/icon/os/win2000.png
/usr/share/awstats/wwwroot/icon/os/win2003.png
/usr/share/awstats/wwwroot/icon/os/win2008.png
/usr/share/awstats/wwwroot/icon/os/win7.png
/usr/share/awstats/wwwroot/icon/os/win8.1.png
/usr/share/awstats/wwwroot/icon/os/win8.png
/usr/share/awstats/wwwroot/icon/os/win95.png
/usr/share/awstats/wwwroot/icon/os/win98.png
/usr/share/awstats/wwwroot/icon/os/wince.png
/usr/share/awstats/wwwroot/icon/os/winlong.png
/usr/share/awstats/wwwroot/icon/os/winme.png
/usr/share/awstats/wwwroot/icon/os/winnt.png
/usr/share/awstats/wwwroot/icon/os/winphone.png
/usr/share/awstats/wwwroot/icon/os/winunknown.png
/usr/share/awstats/wwwroot/icon/os/winvista.png
/usr/share/awstats/wwwroot/icon/os/winxbox.png
/usr/share/awstats/wwwroot/icon/os/winxp.png
/usr/share/awstats/wwwroot/icon/other
/usr/share/awstats/wwwroot/icon/other/awstats_logo1.png
/usr/share/awstats/wwwroot/icon/other/awstats_logo5.png
/usr/share/awstats/wwwroot/icon/other/awstats_logo6.png
/usr/share/awstats/wwwroot/icon/other/backleft.png
/usr/share/awstats/wwwroot/icon/other/button.gif
/usr/share/awstats/wwwroot/icon/other/he.png
/usr/share/awstats/wwwroot/icon/other/hh.png
/usr/share/awstats/wwwroot/icon/other/hk.png
/usr/share/awstats/wwwroot/icon/other/hp.png
/usr/share/awstats/wwwroot/icon/other/ht.png
/usr/share/awstats/wwwroot/icon/other/hx.png
/usr/share/awstats/wwwroot/icon/other/menu1.png
/usr/share/awstats/wwwroot/icon/other/menu2.png
/usr/share/awstats/wwwroot/icon/other/menu3.png
/usr/share/awstats/wwwroot/icon/other/menu4.png
/usr/share/awstats/wwwroot/icon/other/menu5.png
/usr/share/awstats/wwwroot/icon/other/menu6.png
/usr/share/awstats/wwwroot/icon/other/menu7.png
/usr/share/awstats/wwwroot/icon/other/menu8.png
/usr/share/awstats/wwwroot/icon/other/page.png
/usr/share/awstats/wwwroot/icon/other/vh.png
/usr/share/awstats/wwwroot/icon/other/vk.png
/usr/share/awstats/wwwroot/icon/other/vp.png
/usr/share/awstats/wwwroot/icon/other/vu.png
/usr/share/awstats/wwwroot/icon/other/vv.png
/usr/share/awstats/wwwroot/js
/usr/share/awstats/wwwroot/js/awstats_misc_tracker.js
/usr/share/doc/awstats-7.3
/usr/share/doc/awstats-7.3/COPYING.TXT
/usr/share/doc/awstats-7.3/LICENSE.TXT
/usr/share/doc/awstats-7.3/README.TXT
/usr/share/doc/awstats-7.3/awstats.pdf
/usr/share/doc/awstats-7.3/awstats_benchmark.html
/usr/share/doc/awstats-7.3/awstats_changelog.txt
/usr/share/doc/awstats-7.3/awstats_compare.html
/usr/share/doc/awstats-7.3/awstats_config.html
/usr/share/doc/awstats-7.3/awstats_contrib.html
/usr/share/doc/awstats-7.3/awstats_dev_plugins.html
/usr/share/doc/awstats-7.3/awstats_dev_plugins_graphs.html
/usr/share/doc/awstats-7.3/awstats_dev_plugins_hooks.html
/usr/share/doc/awstats-7.3/awstats_dolibarr.html
/usr/share/doc/awstats-7.3/awstats_extra.html
/usr/share/doc/awstats-7.3/awstats_faq.html
/usr/share/doc/awstats-7.3/awstats_glossary.html
/usr/share/doc/awstats-7.3/awstats_license.html
/usr/share/doc/awstats-7.3/awstats_security.html
/usr/share/doc/awstats-7.3/awstats_setup.html
/usr/share/doc/awstats-7.3/awstats_tools.html
/usr/share/doc/awstats-7.3/awstats_upgrade.html
/usr/share/doc/awstats-7.3/awstats_webmin.html
/usr/share/doc/awstats-7.3/awstats_what.html
/usr/share/doc/awstats-7.3/images
/usr/share/doc/awstats-7.3/images/awstats.gif
/usr/share/doc/awstats-7.3/images/awstats.ico
/usr/share/doc/awstats-7.3/images/awstats.png
/usr/share/doc/awstats-7.3/images/awstats.svg
/usr/share/doc/awstats-7.3/images/awstats_250x250.png
/usr/share/doc/awstats-7.3/images/awstats_ban_460x270.png
/usr/share/doc/awstats-7.3/images/awstats_ban_800x160.svg
/usr/share/doc/awstats-7.3/images/awstats_ban_960x540.jpg
/usr/share/doc/awstats-7.3/images/awstats_ban_960x540.png
/usr/share/doc/awstats-7.3/images/awstats_ban_960x540.svg
/usr/share/doc/awstats-7.3/images/awstats_logo1.gif
/usr/share/doc/awstats-7.3/images/awstats_logo1.png
/usr/share/doc/awstats-7.3/images/awstats_logo2.gif
/usr/share/doc/awstats-7.3/images/awstats_logo2.png
/usr/share/doc/awstats-7.3/images/awstats_logo3.gif
/usr/share/doc/awstats-7.3/images/awstats_logo3.png
/usr/share/doc/awstats-7.3/images/awstats_logo5.gif
/usr/share/doc/awstats-7.3/images/awstats_logo5.png
/usr/share/doc/awstats-7.3/images/awstats_logo6.png
/usr/share/doc/awstats-7.3/images/awstats_logo7.jpg
/usr/share/doc/awstats-7.3/images/awstats_logo7.png
/usr/share/doc/awstats-7.3/images/awstats_logo7.svg
/usr/share/doc/awstats-7.3/images/license_chart.png
/usr/share/doc/awstats-7.3/images/screen_shot_1.gif
/usr/share/doc/awstats-7.3/images/screen_shot_1.jpg
/usr/share/doc/awstats-7.3/images/screen_shot_1.png
/usr/share/doc/awstats-7.3/images/screen_shot_2.png
/usr/share/doc/awstats-7.3/images/screen_shot_3.png
/usr/share/doc/awstats-7.3/images/screen_shot_4.png
/usr/share/doc/awstats-7.3/images/screen_shot_5.png
/usr/share/doc/awstats-7.3/images/screen_shot_960x540.png
/usr/share/doc/awstats-7.3/images/screen_shot_large_1.jpg
/usr/share/doc/awstats-7.3/images/screen_shot_large_2.jpg
/usr/share/doc/awstats-7.3/images/screen_shot_large_3.jpg
/usr/share/doc/awstats-7.3/images/screen_shot_large_4.jpg
/usr/share/doc/awstats-7.3/images/screen_shot_large_5.jpg
/usr/share/doc/awstats-7.3/images/star.png
/usr/share/doc/awstats-7.3/index.html
/usr/share/doc/awstats-7.3/pad_awstats.xml
/usr/share/doc/awstats-7.3/scripts
/usr/share/doc/awstats-7.3/scripts/lang-apollo.js
/usr/share/doc/awstats-7.3/scripts/lang-css.js
/usr/share/doc/awstats-7.3/scripts/lang-hs.js
/usr/share/doc/awstats-7.3/scripts/lang-lisp.js
/usr/share/doc/awstats-7.3/scripts/lang-lua.js
/usr/share/doc/awstats-7.3/scripts/lang-ml.js
/usr/share/doc/awstats-7.3/scripts/lang-proto.js
/usr/share/doc/awstats-7.3/scripts/lang-sql.js
/usr/share/doc/awstats-7.3/scripts/lang-vb.js
/usr/share/doc/awstats-7.3/scripts/lang-wiki.js
/usr/share/doc/awstats-7.3/scripts/prettify.css
/usr/share/doc/awstats-7.3/scripts/prettify.js
/usr/share/doc/awstats-7.3/styles.css
/var/lib/awstats

Für die Abfrage der Statistikdaten mit unserem bevorzugtem Browser, benötigen wir nun noch einen virtuellen Host, den wir nun einrichtenm wollen.

Im ersten Konfigurationsbeispiel richten wir uns einen vHOST für unseren Apache-Webserver ein. Hier wurde bei der Installation bereits eine passende Konfigurationsdatei in den Apache-Konfigurationspfad eingestellt. Diese Konfigurationsdatei passen wir unseren Gegebenheiten entsprechend an.

 # vim /etc/httpd/conf.d/awstats.conf
/etc/httpd/conf.d/awstats.conf
<VirtualHost *:80>
        ServerAdmin webmaster@nausch.org
        ServerName awstats.nausch.org
        ServerAlias www.awstats.nausch.org
        ServerPath /
        DocumentRoot "/usr/share/awstats"
 
        Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"
        Alias /awstatscss "/usr/share/awstats/wwwroot/css/"
        Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/"
        ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/"
 
        #
        # This is to permit URL access to scripts/files in AWStats directory.
        #
        <Directory "/usr/share/awstats/wwwroot">
                Options None
                AllowOverride None
                Require local
        </Directory>
 
        # Additional Perl modules
        <IfModule mod_env.c>
                SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
        </IfModule>
 
#        # URL beautifying
        <IfModule mod_proxy.c>
                RewriteEngine     On
                RewriteRule       ^/([a-z0-9-_\.]+)$   http://awstats.nausch.org/awstats/awstats.pl?config=$1   [P,L]
        </IfModule>
 
        ErrorLog logs/awstats_error.log
        CustomLog logs/awstats_access.log combined
</VirtualHost>

Um nicht später immer einen rießen Rattenschwanz bei der URL mitangeben zu müssen, machen wir noch eine kleine Verschönerungsaktion. In der Konfigurationsdatei ist diese mit # URL beautifying vermerkt. Somit reicht später zum Abfragen der Webserver-Statistiken des vHOSTS dokuwiki.nausch.org: $ firefox http://awstats.nausch.org/dokuwiki.nausch.org.

Haben wir die Konfigurationsdatei vervollständigt, prüfen wir diese noch auf syntaktische Fehler.

 # apachectl -t
 Syntax OK

Ein reload unseres Apache Webserver reicht nun aus, um den neuen vHOST verfügbar zu haben.

 # systemctl reload httpd

Haben wir als Webserver einen NGiNX unter der Motorhaube ist die Konfiguration unseres vHOST auch kein großes Hexenwerk, wird bei der Installation entsprechende Vorlagen bereits mitgebracht.

Die Musterdateien finden wir im Verzeichnis /usr/share/awstats/tools/nginx.

 # rpm -qil awstats | grep nginx
 /usr/share/awstats/tools/nginx
 /usr/share/awstats/tools/nginx/README.txt
 /usr/share/awstats/tools/nginx/awstats-fcgi.php
 /usr/share/awstats/tools/nginx/awstats-nginx.conf

Die Musterdatei awstats-nginx.conf kopieren wir nun als in das Konfigurationsverzeichnis von NGiNX.

 cp /usr/share/awstats/tools/nginx/awstats-nginx.conf /etc/nginx/conf.d/awstats-nginx.conf

Mit dem Editor unserer Wahl bearbeiten wir nun diese Datei.

Hier korrigieren wir zwei wichtige (Pfad-)Angaben:

  1. awstatsicons :
    Die Location-Angabe ändern wir hier von /awstats-icon/ auf /awstatsicons/
  2. fastcgi_param SCRIPT_FILENAME :
    Diesen ändern wir von /usr/share/awstats/wwwroot/cgi-bin/fcgi.php auf /usr/share/awstats/tools/nginx/awstats-fcgi.php

Somit ergibt sich nachfolgende Konfigurationsdatei:

 # vim /etc/nginx/conf.d/awstats-nginx.conf
/etc/nginx/conf.d/awstats-nginx.conf
server {
        listen          80;
        server_name     awstats-nginx.nausch.org;
        access_log      /var/log/nginx/awstats-nginx_access.log;
        error_log       /var/log/nginx/awstats-nginx_errors.log;
 
        # Restrict access
        #auth_basic "AWStats Webserverstatistiken on vml000097 - nausch.org";
        #auth_basic_user_file /etc/awstats/htpasswd;
 
 
        # Static awstats files: HTML files stored in DOCUMENT_ROOT/awstats/
        location /awstats/classes/ {
                alias /usr/share/awstats/wwwroot/classes/;
        }
 
        location /awstats/css/ {
                alias /usr/share/awstats/wwwroot/css/;
        }
 
        location /awstats/icon/ {
                alias /usr/share/awstats/wwwroot/icon/;
        }
 
        location /awstatsicons/ {
                alias /usr/share/awstats/wwwroot/icon/;
        }
 
        location /awstats/js/ {
                alias /usr/share/awstats/wwwroot/js/;
        }
 
        # URL beautifying
        location ~ ^/([a-z0-9-_\.]+)$ {
                return 301 $scheme://$server_name/cgi-bin/awstats.pl?config=$1;
        }
 
        # Dynamic stats.
        location ~ ^/cgi-bin/(awredir|awstats)\.pl {
                gzip off;
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_param SCRIPT_FILENAME /usr/share/awstats/tools/nginx/awstats-fcgi.php;
                fastcgi_param X_SCRIPT_FILENAME /usr/share/awstats/wwwroot$fastcgi_script_name;
                fastcgi_param X_SCRIPT_NAME $fastcgi_script_name;
                include fastcgi_params;
        }
}

Den Parameter fastcgi_pass setzen wir im übrigen auf den Wert aus der Konfigurationsdatei /etc/php-fpm.d/www.conf des PHP FastCGI Process Manager-Daemon php-fpm.

Um nicht später immer einen rießen Rattenschwanz bei der URL mitangeben zu müssen, machen wir noch eine kleine Verschönerungsaktion. In der Konfigurationsdatei ist diese mit # URL beautifying vermerkt. Somit reicht später zum Abfragen der Webserver-Statistiken des vHOSTS dokuwiki.nausch.org: $ firefox http://awstats-nginx.nausch.org/dokuwiki.nausch.org.

Haben wir die Konfigurationsdatei vervollständigt, prüfen wir diese noch auf syntaktische Fehler.

 # nginx -t
 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
 nginx: configuration file /etc/nginx/nginx.conf test is successful

Somit können wir unsere Konfiguration nun noch aktivieren.

 # systemctl reload nginx

Für die Auswertung unserer ersten Webseite, legen wir uns eine entsprechende Konfigurationsdatei an. Hierzu kopieren wir einfach die Vorlage-Datei.

 # cp /etc/awstats/awstats.model.conf /etc/awstats/awstats.dokuwiki.nausch.org.conf

Mit dem Editor unserer Wahl passen wir nun die Parameter unseren Gegebenheiten nach an.

 # vim /etc/awstats/awstats.dokuwiki.nausch.org.conf
/etc/awstats/awstats.dokuwiki.nausch.org.conf
# AWSTATS CONFIGURE FILE 7.3                                          
#-----------------------------------------------------------------------------
# Copy this file into awstats.www.mydomain.conf and edit this new config file 
# to setup AWStats (See documentation in docs/ directory).                    
# The config file must be in /etc/awstats, /usr/local/etc/awstats or /etc (for
# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...) 
# To include an environment variable in any parameter (AWStats will replace   
# it with its value when reading it), follow the example:                     
# Parameter="__ENVNAME__"                                                     
# Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with
# the config value in an AWStats running session and can be used like others. 
#-----------------------------------------------------------------------------
 
 
 
#-----------------------------------------------------------------------------
# MAIN SETUP SECTION (Required to make AWStats work)                          
#-----------------------------------------------------------------------------
 
# "LogFile" contains the web, ftp or mail server log file to analyze.
# Possible values: A full path, or a relative path from awstats.pl directory.
# Example: "/var/log/apache/access.log"                                      
# Example: "../logs/mycombinedlog.log"                                       
# You can also use tags in this filename if you need a dynamic file name     
# depending on date or time (Replacement is made by AWStats at the beginning 
# of its execution). This is available tags :                                
#   %YYYY-n  is replaced with 4 digits year we were n hours ago              
#   %YY-n    is replaced with 2 digits year we were n hours ago              
#   %MM-n    is replaced with 2 digits month we were n hours ago             
#   %MO-n    is replaced with 3 letters month we were n hours ago            
#   %DD-n    is replaced with day we were n hours ago                        
#   %HH-n    is replaced with hour we were n hours ago                       
#   %NS-n    is replaced with number of seconds at 00:00 since 1970          
#   %WM-n    is replaced with the week number in month (1-5)                 
#   %Wm-n    is replaced with the week number in month (0-4)                 
#   %WY-n    is replaced with the week number in year (01-52)                
#   %Wy-n    is replaced with the week number in year (00-51)                
#   %DW-n    is replaced with the day number in week (1-7, 1=sunday)         
#                              use n=24 if you need (1-7, 1=monday)          
#   %Dw-n    is replaced with the day number in week (0-6, 0=sunday)         
#                              use n=24 if you need (0-6, 0=monday)          
#   Use 0 for n if you need current year, month, day, hour...                
# Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log"                       
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log"      
# You can also use a pipe if log file come from a pipe :                     
# Example: "gzip -d </var/log/apache/access.log.gz |"                        
# If there are several log files from load balancing servers :               
# Example: "/pathtotools/logresolvemerge.pl *.log |"                         
#                                                                            
# Django : 2015-01-08                                                        
# default: LogFile="/var/log/httpd/access_log"                               
LogFile="/var/log/nginx/dokuwiki_access.log"                                 
 
# Enter the log file type you want to analyze.
# Possible values:                            
#  W - For a web log file                     
#  S - For a streaming log file               
#  M - For a mail log file                    
#  F - For a ftp log file                     
# Example: W                                  
# Default: W                                  
#                                             
LogType=W                                     
 
 
# Enter here your log format (Must match your web server config. See setup
# instructions in documentation to know how to configure your web server to
# have the required log format).                                           
# Possible values: 1,2,3,4 or "your_own_personalized_log_format"           
# 1 - Apache or Lotus Notes/Domino native combined log format (NCSA combined/XLF/ELF log format)
# 2 - IIS or ISA format (IIS W3C log format). See FAQ-COM115 For ISA.                           
# 3 - Webstar native log format.                                                                
# 4 - Apache or Squid native common log format (NCSA common/CLF log format)                     
#     With LogFormat=4, some features (browsers, os, keywords...) can't work.                   
# "your_own_personalized_log_format" = If your log is ftp, mail or other format,                
#     you must use following keys to define the log format string (See FAQ for                  
#     ftp, mail or exotic web log format examples):                                             
#   %host             Client hostname or IP address (or Sender host for mail log)               
#   %host_r           Receiver hostname or IP address (for mail log)                            
#   %lognamequot      Authenticated login/user with format: "john"                              
#   %logname          Authenticated login/user with format: john                                
#   %time1            Date and time with format: [dd/mon/yyyy:hh:mm:ss +0000] or [dd/mon/yyyy:hh:mm:ss]
#   %time2            Date and time with format: yyyy-mm-dd hh:mm:ss                                   
#   %time3            Date and time with format: Mon dd hh:mm:ss or Mon dd hh:mm:ss yyyy               
#   %time4            Date and time with unix timestamp format: dddddddddd                             
#   %time5            Date and time with format iso: yyyy-mm-ddThh:mm:ss                               
#   %methodurl        Method and URL with format: "GET /index.html HTTP/x.x"                           
#   %methodurlnoprot  Method and URL with format: "GET /index.html"                                    
#   %method           Method with format: GET                                                          
#   %url              URL only with format: /index.html                                                
#   %query            Query string (used by URLWithQuery option)                                       
#   %code             Return code status (with format for web log: 999)                                
#   %bytesd           Size of document in bytes                                                        
#   %refererquot      Referer page with format: "http://from.com/from.htm"                             
#   %referer          Referer page with format: http://from.com/from.htm                               
#   %uabracket        User agent with format: [Mozilla/4.0 (compatible, ...)]                          
#   %uaquot           User agent with format: "Mozilla/4.0 (compatible, ...)"                          
#   %ua               User agent with format: Mozilla/4.0_(compatible...)                              
#   %gzipin           mod_gzip compression input bytes: In:XXX                                         
#   %gzipout          mod_gzip compression output bytes & ratio: Out:YYY:ZZpct.                        
#   %gzipratio        mod_gzip compression ratio: ZZpct.                                               
#   %deflateratio     mod_deflate compression ratio with format: (ZZ)                                  
#   %email            EMail sender (for mail log)                                                      
#   %email_r          EMail receiver (for mail log)                                                    
#   %virtualname      Web sever virtual hostname. Use this tag when same log                           
#                     contains data of several virtual web servers. AWStats                            
#                     will discard records not in SiteDomain nor HostAliases                           
#   %cluster          If log file is provided from several computers (merged by                        
#                     logresolvemerge.pl), use this to define cluster id field.                        
#   %extraX           Another field that you plan to use for building a                                
#                     personalized report with ExtraSection feature (See later).                       
#   If your log format has some fields not included in this list, use:                                 
#   %other            Means another not used field                                                     
#   %otherquot        Means another not used double quoted field                                       
#                                                                                                      
# Examples for Apache combined logs (following two examples are equivalent):                           
# LogFormat = 1                                                                                        
# LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"             
#                                                                                                      
# Example for IIS:                                                                                     
# LogFormat = 2                                                                                        
#                                                                                                      
LogFormat=1                                                                                            
#LogFormat = "%host - %host_r %time1 %methodurl %code %bytesd %refererquot %uaquot %otherquot"         
 
# If your log field's separator is not a space, you can change this parameter.
# This parameter is not used if LogFormat is a predefined value (1,2,3,4)     
# Backslash can be used as escape character.                                  
# Example: " "                                                                
# Example: "\t"                                                               
# Example: "\|"                                                               
# Example: ","                                                                
# Default: " "                                                                
#                                                                             
LogSeparator=" "                                                              
 
 
# "SiteDomain" must contain the main domain name, or the main intranet web
# server name, used to reach the web site.                                
# If you share the same log file for several virtual web servers, this    
# parameter is used to tell AWStats to filter record that contains records for
# this virtual host name only (So check that this virtual hostname can be     
# found in your log file and use a personalized log format that include the   
# %virtualname tag).                                                          
# But for multi hosting a better solution is to have one log file for each    
# virtual web server. In this case, this parameter is only used to generate   
# full URL's links when ShowLinksOnUrl option is set to 1.                    
# If analyzing mail log, enter here the domain name of mail server.           
# Example: "myintranetserver"                                                 
# Example: "www.domain.com"                                                   
# Example: "ftp.domain.com"                                                   
# Example: "domain.com"                                                       
#                                                                             
# Django : 2015-01-08                                                         
# default: SiteDomain="localhost.localdomain"                                 
SiteDomain="dokuwiki.nausch.org"                                              
 
 
# Enter here all other possible domain names, addresses or virtual host
# aliases someone can use to access your site. Try to keep only the minimum
# number of possible names/addresses to have the best performances.        
# You can repeat the "SiteDomain" value in this list.                      
# This parameter is used to analyze referer field in log file and to help  
# AWStats to know if a referer URL is a local URL of same site or an URL of
# another site.                                                            
# Note: Use space between each value.                                      
# Note: You can use regular expression values writing value with REGEX[value].
# Note: You can also use @/mypath/myfile if list of aliases are in a file.    
# Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]" 
#                                                                             
# Django : 2015-01-08                                                         
# default: HostAliases="localhost 127.0.0.1"                                  
HostAliases=„localhost 127.0.0.1 REGEX[nausch\.org$] REGEX[www\.nausch\.org$]“
 
 
# If you want to have hosts reported by name instead of ip address, AWStats
# need to make reverse DNS lookups (if not already done in your log file). 
# With DNSLookup to 0, all hosts will be reported by their IP addresses and
# not by the full hostname of visitors (except if names are already available
# in log file).                                                              
# If you want/need to set DNSLookup to 1, don't forget that this will reduce 
# dramatically AWStats update process speed. Do not use on large web sites.  
# Note: Reverse DNS lookup is done on IPv4 only (Enable ipv6 plugin for IPv6).
# Note: Result of DNS Lookup can be used to build the Country report. However 
# it is highly recommanded to enable the plugin 'geoip' or 'geoipfree' to     
# have an accurate Country report with no need of DNS Lookup.                 
# Possible values:                                                            
# 0 - No DNS Lookup                                                           
# 1 - DNS Lookup is fully enabled                                             
# 2 - DNS Lookup is made only from static DNS cache file (if it exists)       
# Default: 2                                                                  
#                                                                             
DNSLookup=2                                                                   
 
 
# When AWStats updates its statistics, it stores results of its analysis in 
# files (AWStats database). All those files are written in the directory    
# defined by the "DirData" parameter. Set this value to the directory where 
# you want AWStats to save its database and working files into.             
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"
# feature (see later), you need "Write" permissions by web server user on this
# directory (and "Modify" for Windows NTFS file systems).                     
# Example: "/var/lib/awstats"                                                 
# Example: "../data"                                                          
# Example: "C:/awstats_data_dir"                                              
# Default: "."          (means same directory as awstats.pl)                  
#                                                                             
# Django : 2015-01-08                                                         
# default: DirData="/var/lib/awstats"                                         
DirData="/usr/share/awstats/wwwdata"                                          
 
 
# Relative or absolute web URL of your awstats cgi-bin directory.
# This parameter is used only when AWStats is run from command line
# with -output option (to generate links in HTML reported page).   
# Example: "/awstats"                                              
# Default: "/cgi-bin"   (means awstats.pl is in "/yourwwwroot/cgi-bin")
#                                                                      
DirCgi="/awstats"                                                      
 
 
# Relative or absolute web URL of your awstats icon directory.
# If you build static reports ("... -output > outputpath/output.html"), enter
# path of icon directory relative to the output directory 'outputpath'.      
# Example: "/awstatsicons"                                                   
# Example: "../icon"                                                         
# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
#                                                                             
DirIcons="/awstatsicons"                                                      
 
 
# When this parameter is set to 1, AWStats adds a button on report page to
# allow to "update" statistics from a web browser. Warning, when "update" is
# made from a browser, AWStats is run as a CGI by the web server user defined
# in your web server (user "nobody" by default with Apache, "IUSR_XXX" with  
# IIS), so the "DirData" directory and all already existing history files    
# awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if
# necessary to "Read/Write" (and "Modify" for Windows NTFS file systems).     
# Warning: Update process can be long so you might experience "time out"      
# browser errors if you don't launch AWStats frequently enough.               
# When set to 0, update is only made when AWStats is run from the command     
# line interface (or a task scheduler).                                       
# Possible values: 0 or 1                                                     
# Default: 0                                                                  
#                                                                             
AllowToUpdateStatsFromBrowser=0                                               
 
 
# AWStats saves and sorts its database on a month basis (except if using
# databasebreak option from command line).                              
# However, if you choose the -month=all from command line or            
# value '-Year-' from CGI combo form to have a report for all year, AWStats
# needs to reload all data for full year (each month), and sort them,      
# requiring a large amount of time, memory and CPU. This might be a problem
# for web hosting providers that offer AWStats for large sites, on shared  
# servers, to non CPU cautious customers.                                  
# For this reason, the 'full year' is only enabled on Command Line by default.
# You can change this by setting this parameter to 0, 1, 2 or 3.              
# Possible values:                                                            
#  0 - Never allowed                                                          
#  1 - Allowed on CLI only, -Year- value in combo is not visible              
#  2 - Allowed on CLI only, -Year- value in combo is visible but not allowed  
#  3 - Possible on CLI and CGI                                                
# Default: 2                                                                  
#                                                                             
# Django : 2015-01-08                                                         
# default: AllowFullYearView=2                                                
AllowFullYearView=3                                                           
 
 
 
#-----------------------------------------------------------------------------
# OPTIONAL SETUP SECTION (Not required but increase AWStats features)         
#-----------------------------------------------------------------------------
 
# When the update process runs, AWStats can set a lock file in TEMP or TMP
# directory. This lock is to avoid to have 2 update processes running at the
# same time to prevent unknown conflicts problems and avoid DoS attacks when
# AllowToUpdateStatsFromBrowser is set to 1.                                
# Because, when you use lock file, you can experience sometimes problems in 
# lock file not correctly removed (killed process for example requires that 
# you remove the file manualy), this option is not enabled by default (Do   
# not enable this option with no console server access).                    
# Change : Effective immediatly                                             
# Possible values: 0 or 1                                                   
# Default: 0                                                                
#                                                                           
EnableLockForUpdate=1                                                       
 
 
# AWStats can do reverse DNS lookups through a static DNS cache file that was
# previously created manually. If no path is given in static DNS cache file  
# name, AWStats will search DirData directory. This file is never changed.   
# This option is not used if DNSLookup=0.                                    
# Note: DNS cache file format is 'minsince1970 ipaddress resolved_hostname'  
# or just 'ipaddress resolved_hostname'                                      
# Change : Effective for new updates only                                    
# Example: "/mydnscachedir/dnscache"                                         
# Default: "dnscache.txt"                                                    
#                                                                            
DNSStaticCacheFile="dnscache.txt"                                            
 
 
# AWStats can do reverse DNS lookups through a DNS cache file that was created
# by a previous run of AWStats. This file is erased and recreated after each  
# statistics update process. You don't need to create and/or edit it.         
# AWStats will read and save this file in DirData directory.                  
# This option is used only if DNSLookup=1.                                    
# Note: If a DNSStaticCacheFile is available, AWStats will check for DNS      
# lookup in DNSLastUpdateCacheFile after checking into DNSStaticCacheFile.    
# Change : Effective for new updates only                                     
# Example: "/mydnscachedir/dnscachelastupdate"                                
# Default: "dnscachelastupdate.txt"                                           
#                                                                             
DNSLastUpdateCacheFile="dnscachelastupdate.txt"                               
 
 
# You can specify specific IP addresses that should NOT be looked up in DNS.
# This option is used only if DNSLookup=1.                                  
# Note: Use space between each value.                                       
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "123.123.123.123 REGEX[^192\.168\.]"                               
# Default: ""                                                                 
#                                                                             
SkipDNSLookupFor=""                                                           
 
 
# The following two parameters allow you to protect a config file from being
# read by AWStats when called from a browser if web user has not been       
# authenticated. Your AWStats program must be in a web protected "realm" (With
# Apache, you can use .htaccess files to do so. With other web servers, see   
# your server setup manual).                                                  
# Change : Effective immediatly                                               
# Possible values: 0 or 1                                                     
# Default: 0                                                                  
#                                                                             
AllowAccessFromWebToAuthenticatedUsersOnly=0                                  
 
 
# This parameter gives the list of all authorized authenticated users to view
# statistics for this domain/config file. This parameter is used only if     
# AllowAccessFromWebToAuthenticatedUsersOnly is set to 1.                    
# Change : Effective immediatly                                              
# Example: "user1 user2"                                                     
# Example: "__REMOTE_USER__"                                                 
# Default: ""                                                                
#                                                                            
AllowAccessFromWebToFollowingAuthenticatedUsers=""                           
 
 
# When this parameter is defined to something, the IP address of the user that
# reads its statistics from a browser (when AWStats is used as a CGI) is      
# checked and must match one of the IP address values or ranges.              
# Change : Effective immediatly                                               
# Example: "127.0.0.1 123.123.123.1-123.123.123.255"                          
# Default: ""                                                                 
#                                                                             
AllowAccessFromWebToFollowingIPAddresses=""                                   
 
 
# If the "DirData" directory (see above) does not exist, AWStats return an
# error. However, you can ask AWStats to create it.                       
# This option can be used by some Web Hosting Providers that has defined a 
# dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and
# don't want to have to create a new directory each time they add a new user.
# Change : Effective immediatly                                              
# Possible values: 0 or 1                                                    
# Default: 0                                                                 
#                                                                            
CreateDirDataIfNotExists=0                                                   
 
 
# You can choose in which format the Awstats history database is saved.
# Note: Using "xml" format make AWStats building database files three times
# larger than using "text" format.                                         
# Change : Database format is switched after next update                   
# Possible values: text or xml                                             
# Default: text                                                            
#                                                                          
BuildHistoryFormat=text                                                    
 
 
# If you prefer having the report output pages be built as XML compliant pages
# instead of simple HTML pages, you can set this to 'xhtml' (May not work     
# properly with old browsers).                                                
# Change : Effective immediatly                                               
# Possible values: html or xhtml                                              
# Default: html                                                               
#                                                                             
BuildReportFormat=html                                                        
 
 
# AWStats databases can be updated from command line of from a browser (when
# used as a cgi program). So AWStats database files need write permission   
# for both command line user and default web server user (nobody for Unix,  
# IUSR_xxx for IIS/Windows,...).                                            
# To avoid permission problems between update process (run by an admin user)
# and CGI process (ran by a low level user), AWStats can save its database  
# files with read and write permissions for everyone.                       
# By default, AWStats keeps default user permissions on updated files. If you 
# set AllowToUpdateStatsFromBrowser to 1, you can change this parameter to 1. 
# Change : Effective for new updates only                                     
# Possible values: 0 or 1                                                     
# Default: 0                                                                  
#                                                                             
SaveDatabaseFilesWithPermissionsForEveryone=0                                 
 
 
# AWStats can purge log file, after analyzing it. Note that AWStats is able
# to detect new lines in a log file, to process only them, so you can launch
# AWStats as often as you want, even with this parameter to 0.              
# With 0, no purge is made, so you must use a scheduled task or a web server
# that make this purge frequently.                                          
# With 1, the purge of the log file is made each time AWStats update is run.
# This parameter doesn't work with IIS (This web server doesn't let its log 
# file to be purged).                                                       
# Change : Effective for new updates only                                   
# Possible values: 0 or 1                                                   
# Default: 0                                                                
#                                                                           
PurgeLogFile=0                                                              
 
 
# When PurgeLogFile is setup to 1, AWStats will clean your log file after
# processing it. You can however keep an archive file of all processed log
# records by setting this parameter (For example if you want to use another
# log analyzer). The archived log file is saved in "DirData" with name     
# awstats_archive.configname[.suffix].log                                  
# This parameter is not used if PurgeLogFile=0                             
# Change : Effective for new updates only                                  
# Possible values: 0, 1, or tags (See LogFile parameter) for suffix        
# Example: 1                                                               
# Example: %YYYY%MM%DD                                                     
# Default: 0                                                               
#                                                                          
ArchiveLogRecords=0                                                        
 
 
# Each time you run the update process, AWStats overwrites the 'historic file'
# for the month (awstatsMMYYYY[.*].txt) with the updated one.                 
# When write errors occurs (IO, disk full,...), this historic file can be     
# corrupted and must be deleted. Because this file contains information of all
# past processed log files, you will loose old stats if removed. So you can   
# ask AWStats to save last non corrupted file in a .bak file. This file is    
# stored in "DirData" directory with other 'historic files'.                  
# Change : Effective for new updates only                                     
# Possible values: 0 or 1                                                     
# Default: 0                                                                  
#                                                                             
KeepBackupOfHistoricFiles=0                                                   
 
 
# Default index page name for your web server.
# Change : Effective for new updates only     
# Example: "index.php index.html default.html"
# Default: "index.php index.html"             
#                                             
DefaultFile="index.php index.html"            
 
 
# Do not include access from clients that match following criteria.
# If your log file contains IP addresses in host field, you must enter here
# matching IP addresses criteria.                                          
# If DNS lookup is already done in your log file, you must enter here hostname
# criteria, else enter ip address criteria.                                   
# The opposite parameter of "SkipHosts" is "OnlyHosts".                       
# Note: Use space between each value. This parameter is not case sensitive.   
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]"                        
# Example: "localhost REGEX[^.*\.localdomain$]"                               
# Default: ""                                                                 
#                                                                             
SkipHosts="127.0.0.1"                                                         
 
 
# Do not include access from clients with a user agent that match following
# criteria. If you want to exclude a robot, you should update the robots.pm
# file instead of this parameter.                                          
# The opposite parameter of "SkipUserAgents" is "OnlyUserAgents".          
# Note: Use space between each value. This parameter is not case sensitive.
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "konqueror REGEX[ua_test_v\d\.\d]"                                 
# Default: ""                                                                 
#                                                                             
SkipUserAgents=""                                                             
 
 
# Use SkipFiles to ignore access to URLs that match one of following entries.
# You can enter a list of not important URLs (like framed menus, hidden pages,
# etc...) to exclude them from statistics. You must enter here exact relative 
# URL as found in log file, or a matching REGEX value. Check apply on URL with
# all its query paramaters.                                                   
# For example, to ignore /badpage.php, just add "/badpage.php". To ignore all 
# pages in a particular directory, add "REGEX[^\/directorytoexclude]".        
# The opposite parameter of "SkipFiles" is "OnlyFiles".                       
# Note: Use space between each value. This parameter is or not case sensitive 
# depending on URLNotCaseSensitive parameter.                                 
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "/badpage.php /page.php?param=x REGEX[^\/excludedirectory]"        
# Default: ""                                                                 
#                                                                             
SkipFiles=""                                                                  
 
 
# Use SkipReferrersBlackList if you want to exclude records coming from a SPAM
# referrer. Parameter must receive a local file name containing rules applied 
# on referrer field. If parameter is empty, no filter is applied.             
# An example of such a file is available in lib/blacklist.txt                 
# Change : Effective for new updates only                                     
# Example: "/mylibpath/blacklist.txt"                                         
# Default: ""                                                                 
#                                                                             
# WARNING!! Using this feature make AWStats running very slower (5 times slower
# with black list file provided with AWStats !                                 
#                                                                              
SkipReferrersBlackList=""                                                      
 
 
# Include in stats, only accesses from hosts that match one of following
# entries. For example, if you want AWStats to filter access to keep only
# stats for visits from particular hosts, you can add those host names in
# this parameter.                                                        
# If DNS lookup is already done in your log file, you must enter here hostname
# criteria, else enter ip address criteria.                                   
# The opposite parameter of "OnlyHosts" is "SkipHosts".                       
# Note: Use space between each value. This parameter is not case sensitive.   
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]"                        
# Default: ""                                                                 
#                                                                             
OnlyHosts=""                                                                  
 
 
# Include in stats, only accesses from user agent that match one of following
# entries. For example, if you want AWStats to filter access to keep only    
# stats for visits from particular browsers, you can add their user agents   
# string in this parameter.                                                  
# The opposite parameter of "OnlyUserAgents" is "SkipUserAgents".            
# Note: Use space between each value. This parameter is not case sensitive.  
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "msie"                                                             
# Default: ""                                                                 
#                                                                             
OnlyUserAgents=""                                                             
 
 
# Include in stats, only accesses from authenticated users that match one of
# following entries. For example, if you want AWStats to filter access to keep
# only stats for authenticated users, you can add those users names in        
# this parameter. Useful for statistics for per user ftp logs.                
# Note: Use space between each value. This parameter is not case sensitive.   
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "john bob REGEX[^testusers]"                                       
# Default: ""                                                                 
#                                                                             
OnlyUsers=""                                                                  
 
 
# Include in stats, only accesses to URLs that match one of following entries.
# For example, if you want AWStats to filter access to keep only stats that   
# match a particular string, like a particular directory, you can add this    
# directory name in this parameter.                                           
# The opposite parameter of "OnlyFiles" is "SkipFiles".                       
# Note: Use space between each value. This parameter is or not case sensitive 
# depending on URLNotCaseSensitive parameter.                                 
# Note: You can use regular expression values writing value with REGEX[value].
# Change : Effective for new updates only                                     
# Example: "REGEX[marketing_directory] REGEX[office\/.*\.(csv|sxw)$]"         
# Default: ""                                                                 
#                                                                             
OnlyFiles=""                                                                  
 
 
# Add here a list of kind of url (file extension) that must be counted as
# "Hit only" and not as a "Hit" and "Page/Download". You can set here all
# image extensions as they are hit downloaded that must be counted but they
# are not viewed pages. URLs with such extensions are not included in the TOP
# Pages/URL report.                                                          
# Note: If you want to exclude particular URLs from stats (No Pages and no   
# Hits reported), you must use SkipFiles parameter.                          
# Change : Effective for new updates only                                    
# Example: "css js class gif jpg jpeg png bmp ico rss xml swf zip arj rar gz z bz2 wav mp3 wma mpg avi"
# Example: ""                                                                                          
# Default: "css js class gif jpg jpeg png bmp ico rss xml swf"                                         
#                                                                                                      
NotPageList="css js class gif jpg jpeg png bmp ico rss xml swf"                                        
 
 
# By default, AWStats considers that records found in web log file are
# successful hits if HTTP code returned by server is a valid HTTP code (200
# and 304). Any other code are reported in HTTP status chart.              
# Note that HTTP 'control codes', like redirection (302, 305) are not added by
# default in this list as they are not pages seen by a visitor but are        
# protocol exchange codes to tell the browser to ask another page. Because    
# this other page will be counted and seen with a 200 or 304 code, if you     
# add such codes, you will have 2 pages viewed reported for only one in facts.
# Change : Effective for new updates only                                     
# Example: "200 304 302 305"                                                  
# Default: "200 304"                                                          
#                                                                             
ValidHTTPCodes="200 304"                                                      
 
 
# By default, AWStats considers that records found in mail log file are
# successful mail transfers if field that represent return code in analyzed
# log file match values defined by this parameter.                         
# Change : Effective for new updates only                                  
# Example: "1 250 200"                                                     
# Default: "1 250"                                                         
#                                                                          
ValidSMTPCodes="1 250"                                                     
 
 
# Some web servers on some Operating systems (IIS-Windows) consider that a
# login with same value but different case are the same login. To tell AWStats
# to also consider them as one, set this parameter to 1.                      
# Change : Effective for new updates only                                     
# Possible values: 0 or 1                                                     
# Default: 0                                                                  
#                                                                             
AuthenticatedUsersNotCaseSensitive=0                                          
 
 
# Some web servers on some Operating systems (IIS-Windows) considers that two
# URLs with same value but different case are the same URL. To tell AWStats to
# also considers them as one, set this parameter to 1.                        
# Change : Effective for new updates only                                     
# Possible values: 0 or 1                                                     
# Default: 0                                                                  
#                                                                             
URLNotCaseSensitive=0                                                         
 
 
# Keep or remove the anchor string you can find in some URLs.
# Change : Effective for new updates only                    
# Possible values: 0 or 1                                    
# Default: 0                                                 
#                                                            
URLWithAnchor=0                                              
 
 
# In URL links, "?" char is used to add parameter's list in URLs. Syntax is:
# /mypage.html?param1=value1&param2=value2                                  
# However, some servers/sites use also other chars to isolate dynamic part of
# their URLs. You can complete this list with all such characters.           
# Change : Effective for new updates only                                    
# Example: "?;,"                                                             
# Default: "?;"                                                              
#                                                                            
URLQuerySeparators="?;"                                                      
 
 
# Keep or remove the query string to the URL in the statistics for individual
# pages. This is primarily used to differentiate between the URLs of dynamic 
# pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as two
# different pages.                                                            
# Warning, when set to 1, memory required to run AWStats is dramatically      
# increased if you have a lot of changing URLs (for example URLs with a random
# id inside). Such web sites should not set this option to 1 or use seriously 
# the next parameter URLWithQueryWithOnlyFollowingParameters (or eventually   
# URLWithQueryWithoutFollowingParameters).                                    
# Change : Effective for new updates only                                     
# Possible values:                                                            
# 0 - URLs are cleaned from the query string (ie: "/mypage.html")             
# 1 - Full URL with query string is used     (ie: "/mypage.html?p=x&q=y")     
# Default: 0                                                                  
#                                                                             
URLWithQuery=0                                                                
 
 
# When URLWithQuery is on, you will get the full URL with all parameters in
# URL reports. But among thoose parameters, sometimes you don't need a     
# particular parameter because it does not identify the page or because it's
# a random ID changing for each access even if URL points to same page. In  
# such cases, it is higly recommanded to ask AWStats to keep only parameters
# you need (if you know them) before counting, manipulating and storing URL.
# Enter here list of wanted parameters. For example, with "param", one hit on
# /mypage.cgi?param=abc&id=Yo4UomP9d  and  /mypage.cgi?param=abc&id=Mu8fdxl3r
# will be reported as 2 hits on /mypage.cgi?param=abc                        
# This parameter is not used when URLWithQuery is 0 and can't be used with   
# URLWithQueryWithoutFollowingParameters.                                    
# Change : Effective for new updates only                                    
# Example: "param"                                                           
# Default: ""                                                                
#                                                                            
URLWithQueryWithOnlyFollowingParameters=""                                   
 
 
# When URLWithQuery is on, you will get the full URL with all parameters in
# URL reports. But among thoose parameters, sometimes you don't need a     
# particular parameter because it does not identify the page or because it's
# a random ID changing for each access even if URL points to same page. In  
# such cases, it is higly recommanded to ask AWStats to remove such parameters
# from the URL before counting, manipulating and storing URL. Enter here list 
# of all non wanted parameters. For example if you enter "id", one hit on     
# /mypage.cgi?param=abc&id=Yo4UomP9d  and  /mypage.cgi?param=abc&id=Mu8fdxl3r 
# will be reported as 2 hits on /mypage.cgi?param=abc                         
# This parameter is not used when URLWithQuery is 0 and can't be used with    
# URLWithQueryWithOnlyFollowingParameters.                                    
# Change : Effective for new updates only                                     
# Example: "PHPSESSID jsessionid"                                             
# Default: ""                                                                 
#                                                                             
URLWithQueryWithoutFollowingParameters=""                                     
 
 
# Keep or remove the query string to the referrer URL in the statistics for
# external referrer pages. This is used to differentiate between the URLs of
# dynamic referrer pages. If set to 1, mypage.html?id=x and mypage.html?id=y
# are counted as two different referrer pages.                              
# Change : Effective for new updates only                                   
# Possible values:                                                          
# 0 - Referrer URLs are cleaned from the query string (ie: "/mypage.html")  
# 1 - Full URL with query string is used      (ie: "/mypage.html?p=x&q=y")  
# Default: 0                                                                
#                                                                           
URLReferrerWithQuery=0                                                      
 
 
# AWStats can detect setup problems or show you important informations to have
# a better use. Keep this to 1, except if AWStats says you can change it.     
# Change : Effective immediatly                                               
# Possible values: 0 or 1                                                     
# Default: 1                                                                  
#                                                                             
WarningMessages=1                                                             
 
 
# When an error occurs, AWStats outputs a message related to errors. If you
# want (in most cases for security reasons) to have no error messages, you 
# can set this parameter to your personalized generic message.             
# Change : Effective immediatly                                            
# Example: "An error occurred. Contact your Administrator"                 
# Default: ""                                                              
#                                                                          
ErrorMessages=""                                                           
 
 
# AWStat can be run with debug=x parameter to output various informations
# to help in debugging or solving troubles. If you want to allow this (not
# enabled by default for security reasons), set this parameter to 0.      
# Change : Effective immediatly                                           
# Possible values: 0 or 1                                                 
# Default: 0                                                              
#                                                                         
DebugMessages=0                                                           
 
 
# To help you to detect if your log format is good, AWStats reports an error
# if all the first NbOfLinesForCorruptedLog lines have a format that does not
# match the LogFormat parameter.                                             
# However, some worm virus attack on your web server can result in a very high
# number of corrupted lines in your log. So if you experience awstats stop    
# because of bad virus records at the beginning of your log file, you can     
# increase this parameter (very rare).                                        
# Change : Effective for new updates only                                     
# Default: 50                                                                 
#                                                                             
NbOfLinesForCorruptedLog=50                                                   
 
 
# For some particular integration needs, you may want to have CGI links to
# point to another script than awstats.pl.                                
# Use the name of this script in WrapperScript parameter.                 
# Change : Effective immediatly                                           
# Example: "awstatslauncher.pl"                                           
# Example: "awstatswrapper.cgi?key=123"                                   
# Default: ""                                                             
#                                                                         
WrapperScript=""                                                          
 
 
# DecodeUA must be set to 1 if you use Roxen web server. This server converts
# all spaces in user agent field into %20. This make the AWStats robots, OS  
# and browsers detection fail in some cases. Just change it to 1 if and only 
# if your web server is Roxen.                                               
# Change : Effective for new updates only                                    
# Possible values: 0 or 1                                                    
# Default: 0                                                                 
#                                                                            
DecodeUA=0                                                                   
 
 
# MiscTrackerUrl can be used to make AWStats able to detect some miscellaneous
# things, that can not be tracked on other way, like:                         
# - Javascript disabled                                                       
# - Java enabled                                                              
# - Screen size                                                               
# - Color depth                                                               
# - Macromedia Director plugin                                                
# - Macromedia Shockwave plugin                                               
# - Realplayer G2 plugin                                                      
# - QuickTime plugin                                                          
# - Mediaplayer plugin                                                        
# - Acrobat PDF plugin                                                        
# To enable all these features, you must copy the awstats_misc_tracker.js file
# into a /js/ directory stored in your web document root and add the following
# HTML code at the end of your index page (but before </BODY>) :              
#                                                                             
# <script type="text/javascript" src="/js/awstats_misc_tracker.js"></script>  
# <noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript>
#                                                                                                                    
# If code is not added in index page, all those detection capabilities will be                                       
# disabled. You must also check that ShowScreenSizeStats and ShowMiscStats                                           
# parameters are set to 1 to make results appear in AWStats report page.                                             
# If you want to use another directory than /js/, you must also change the                                           
# awstatsmisctrackerurl variable into the awstats_misc_tracker.js file.                                              
# Change : Effective for new updates only.                                                                           
# Possible value: URL of javascript tracker file added in your HTML code.                                            
# Default: "/js/awstats_misc_tracker.js"                                                                             
#                                                                                                                    
MiscTrackerUrl="/js/awstats_misc_tracker.js"                                                                         
 
 
# AddLinkToExternalCGIWrapper can be used to add a link to a wrapper script
# into each title of Dolibarr reports. This can be used to add a wrapper   
# to download data into a CSV file for example.                            
#                                                                          
# AddLinkToExternalCGIWrapper="/awstats/awdownloadcsv.pl"                  
 
 
 
#-----------------------------------------------------------------------------
# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------
 
# The following values allow you to define accuracy of AWStats entities
# (robots, browsers, os, referers, file types) detection.              
# It might be a good idea for large web sites or ISP that provides AWStats to
# high number of customers, to set this parameter to 1 (or 0), instead of 2. 
# Possible values:                                                           
#    0      = No detection,                                                  
#    1      = Medium/Standard detection                                      
#    2      = Full detection                                                 
# Change : Effective for new updates only                                    
# Note   : LevelForBrowsersDetection can also accept value "allphones". This 
#          enable detailed detection of phone/pda browsers.                  
# Default: 2 (0 for LevelForWormsDetection)                                  
#                                                                            
LevelForBrowsersDetection=2         # 0 disables Browsers detection.         
                                    # 2 reduces AWStats speed by 2%          
                                    # allphones reduces AWStats speed by 5%  
LevelForOSDetection=2               # 0 disables OS detection.               
                                    # 2 reduces AWStats speed by 3%          
LevelForRefererAnalyze=2            # 0 disables Origin detection.           
                                    # 2 reduces AWStats speed by 14%         
LevelForRobotsDetection=2           # 0 disables Robots detection.           
                                    # 2 reduces AWStats speed by 2.5%        
LevelForSearchEnginesDetection=2    # 0 disables Search engines detection.   
                                    # 2 reduces AWStats speed by 9%          
LevelForKeywordsDetection=2         # 0 disables Keyphrases/Keywords detection.
                                    # 2 reduces AWStats speed by 1%            
LevelForFileTypesDetection=2        # 0 disables File types detection.         
                                    # 2 reduces AWStats speed by 1%            
LevelForWormsDetection=0            # 0 disables Worms detection.              
                                    # 2 reduces AWStats speed by 15%           
 
 
 
#-----------------------------------------------------------------------------
# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features)
#-----------------------------------------------------------------------------  
 
# When you use AWStats as a CGI, you can have the reports shown in HTML frames.
# Frames are only available for report viewed dynamically. When you build      
# pages from command line, this option is not used and no frames are built.    
# Possible values: 0 or 1                                                      
# Default: 1                                                                   
#                                                                              
UseFramesWhenCGI=1                                                             
 
 
# This parameter asks your browser to open detailed reports into a different
# window than the main page.                                                
# Possible values:                                                          
# 0 - Open all in same browser window                                       
# 1 - Open detailed reports in another window except if using frames        
# 2 - Open always in a different window even if reports are framed          
# Default: 1                                                                
#                                                                           
DetailedReportsOnNewWindows=1                                               
 
 
# You can add, in the HTML report page, a cache lifetime (in seconds) that
# will be returned to the browser in HTTP header answer by server.        
# This parameter is not used when reports are built with -staticlinks option.
# Example: 3600                                                              
# Default: 0                                                                 
#                                                                            
Expires=3600                                                                 
 
 
# To avoid too large web pages, you can ask AWStats to limit number of rows of
# all reported charts to this number when no other limits apply.              
# Default: 1000                                                               
#                                                                             
MaxRowsInHTMLOutput=1000                                                      
 
 
# Set your primary language (ISO-639-1 language codes).
# Possible values:                                     
#  Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca,  
#  Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Croatian=hr, Czech=cz,
#  Danish=dk, Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi,
#  French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu,
#  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=ko,     
#  Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
#  Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,   
#  Serbian=sr, Slovak=sk, Slovenian=si, Spanish=es, Swedish=se, Turkish=tr,
#  Ukrainian=ua, Welsh=cy.                                                 
#  First available language accepted by browser=auto                       
# Default: "auto"                                                          
#                                                                          
# Django : 2015-01-08                                                      
# default: Lang="auto"                                                     
Lang="de"                                                                  
 
 
# Set the location of language files.
# Example: "/usr/share/awstats/lang" 
# Default: "./lang" (means lang directory is in same location than awstats.pl)
#                                                                             
DirLang="./lang"                                                              
 
 
# Show menu header with reports' links
# Possible values: 0 or 1             
# Default: 1                          
#                                     
ShowMenu=1                            
 
 
# You choose here which reports you want to see in the main page and what you
# want to see in those reports.                                              
# Possible values:                                                           
#  0  - Report is not shown at all                                           
#  1  - Report is shown in main page with an entry in menu and default columns
# XYZ - Report shows column informations defined by code X,Y,Z...             
#       X,Y,Z... are code letters among the following:                        
#        U = Unique visitors                                                  
#        V = Visits                                                           
#        P = Number of pages                                                  
#        H = Number of hits (or mails)                                        
#        B = Bandwith (or total mail size for mail logs)                      
#        L = Last access date                                                 
#        E = Entry pages                                                      
#        X = Exit pages                                                       
#        C = Web compression (mod_gzip,mod_deflate)                           
#        M = Average mail size (mail logs)                                    
#                                                                             
 
# Show monthly summary
# Context: Web, Streaming, Mail, Ftp
# Default: UVPHB, Possible column codes: UVPHB
ShowSummary=UVPHB                             
 
# Show monthly chart
# Context: Web, Streaming, Mail, Ftp
# Default: UVPHB, Possible column codes: UVPHB
ShowMonthStats=UVPHB                          
 
# Show days of month chart
# Context: Web, Streaming, Mail, Ftp
# Default: VPHB, Possible column codes: VPHB
ShowDaysOfMonthStats=VPHB                   
 
# Show days of week chart
# Context: Web, Streaming, Mail, Ftp
# Default: PHB, Possible column codes: PHB
ShowDaysOfWeekStats=PHB                   
 
# Show hourly chart
# Context: Web, Streaming, Mail, Ftp
# Default: PHB, Possible column codes: PHB
ShowHoursStats=PHB                        
 
# Show domains/country chart
# Context: Web, Streaming, Mail, Ftp
# Default: PHB, Possible column codes: UVPHB
ShowDomainsStats=PHB                        
 
# Show hosts chart
# Context: Web, Streaming, Mail, Ftp
# Default: PHBL, Possible column codes: PHBL
ShowHostsStats=PHBL                         
 
# Show authenticated users chart
# Context: Web, Streaming, Ftp  
# Default: 0, Possible column codes: PHBL
ShowAuthenticatedUsers=0                 
 
# Show robots chart
# Context: Web, Streaming
# Default: HBL, Possible column codes: HBL
ShowRobotsStats=HBL                       
 
# Show worms chart
# Context: Web, Streaming
# Default: 0 (If set to other than 0, see also LevelForWormsDetection), Possible column codes: HBL
ShowWormsStats=0                                                                                  
 
# Show email senders chart (For use when analyzing mail log files)
# Context: Mail                                                   
# Default: 0, Possible column codes: HBML                         
ShowEMailSenders=0                                                
 
# Show email receivers chart (For use when analyzing mail log files)
# Context: Mail                                                     
# Default: 0, Possible column codes: HBML                           
ShowEMailReceivers=0                                                
 
# Show session chart
# Context: Web, Streaming, Ftp
# Default: 1, Possible column codes: None
ShowSessionsStats=1                      
 
# Show pages-url chart.
# Context: Web, Streaming, Ftp
# Default: PBEX, Possible column codes: PBEX
ShowPagesStats=PBEX                         
 
# Show file types chart.
# Context: Web, Streaming, Ftp
# Default: HB, Possible column codes: HBC
ShowFileTypesStats=HB                    
 
# Show file size chart (Not yet available)
# Context: Web, Streaming, Mail, Ftp      
# Default: 1, Possible column codes: None 
ShowFileSizesStats=0                      
 
# Show downloads chart.
# Context: Web, Streaming, Ftp
# Default: HB, Possible column codes: HB
ShowDownloadsStats=HB                   
 
# Show operating systems chart
# Context: Web, Streaming, Ftp
# Default: 1, Possible column codes: None
ShowOSStats=1                            
 
# Show browsers chart
# Context: Web, Streaming
# Default: 1, Possible column codes: None
ShowBrowsersStats=1                      
 
# Show screen size chart
# Context: Web, Streaming
# Default: 0 (If set to 1, see also MiscTrackerUrl), Possible column codes: None
# Django : 1015-01-08                                                           
# default: ShowScreenSizeStats=0                                                
ShowScreenSizeStats=1                                                           
 
# Show origin chart
# Context: Web, Streaming
# Default: PH, Possible column codes: PH
ShowOriginStats=PH                      
 
# Show keyphrases chart
# Context: Web, Streaming
# Default: 1, Possible column codes: None
ShowKeyphrasesStats=1                    
 
# Show keywords chart
# Context: Web, Streaming
# Default: 1, Possible column codes: None
ShowKeywordsStats=1                      
 
# Show misc chart
# Context: Web, Streaming
# Default: a (See also MiscTrackerUrl parameter), Possible column codes: anjdfrqwp
ShowMiscStats=a                                                                   
 
# Show http errors chart
# Context: Web, Streaming
# Default: 1, Possible column codes: None
ShowHTTPErrorsStats=1                    
 
# Show smtp errors chart (For use when analyzing mail log files)
# Context: Mail                                                 
# Default: 0, Possible column codes: None                       
ShowSMTPErrorsStats=0                                           
 
# Show the cluster report (Your LogFormat must contains the %cluster tag)
# Context: Web, Streaming, Ftp                                           
# Default: 0, Possible column codes: PHB                                 
ShowClusterStats=0                                                       
 
 
# Some graphical reports are followed by the data array of values.
# If you don't want this array (to reduce the report size for example), you
# can set thoose options to 0.                                             
# Possible values: 0 or 1                                                  
# Default: 1                                                               
#                                                                          
# Data array values for the ShowMonthStats report                          
AddDataArrayMonthStats=1                                                   
# Data array values for the ShowDaysOfMonthStats report                    
AddDataArrayShowDaysOfMonthStats=1                                         
# Data array values for the ShowDaysOfWeekStats report                     
AddDataArrayShowDaysOfWeekStats=1                                          
# Data array values for the ShowHoursStats report                          
AddDataArrayShowHoursStats=1                                               
 
 
# In the Origin chart, you have stats on where your hits came from. You can
# include hits on pages that come from pages of same sites in this chart.  
# Possible values: 0 or 1                                                  
# Default: 0                                                               
#                                                                          
IncludeInternalLinksInOriginSection=0                                      
 
 
# The following parameters can be used to choose the maximum number of lines
# shown for the particular following reports.                               
#                                                                           
# Stats by countries/domains                                                
MaxNbOfDomain = 10                                                          
MinHitDomain  = 1                                                           
# Stats by hosts                                                            
MaxNbOfHostsShown = 10                                                      
MinHitHost    = 1                                                           
# Stats by authenticated users                                              
MaxNbOfLoginShown = 10                                                      
MinHitLogin   = 1                                                           
# Stats by robots                                                           
MaxNbOfRobotShown = 10                                                      
MinHitRobot   = 1                                                           
# Stats for Downloads                                                       
MaxNbOfDownloadsShown = 10                                                  
MinHitDownloads = 1                                                         
# Stats by pages                                                            
MaxNbOfPageShown = 10                                                       
MinHitFile    = 1                                                           
# Stats by OS                                                               
MaxNbOfOsShown = 10                                                         
MinHitOs      = 1                                                           
# Stats by browsers                                                         
MaxNbOfBrowsersShown = 10                                                   
MinHitBrowser = 1                                                           
# Stats by screen size                                                      
MaxNbOfScreenSizesShown = 5                                                 
MinHitScreenSize = 1                                                        
# Stats by window size (following 2 parameters are not yet used)            
MaxNbOfWindowSizesShown = 5                                                 
MinHitWindowSize = 1                                                        
# Stats by referers                                                         
MaxNbOfRefererShown = 10                                                    
MinHitRefer   = 1                                                           
# Stats for keyphrases                                                      
MaxNbOfKeyphrasesShown = 10                                                 
MinHitKeyphrase = 1                                                         
# Stats for keywords                                                        
MaxNbOfKeywordsShown = 10                                                   
MinHitKeyword = 1                                                           
# Stats for sender or receiver emails                                       
MaxNbOfEMailsShown = 20                                                     
MinHitEMail   = 1                                                           
 
 
# Choose if you want the week report to start on sunday or monday
# Possible values:                                               
# 0 - Week starts on sunday                                      
# 1 - Week starts on monday                                      
# Default: 1                                                     
#                                                                
FirstDayOfWeek=1                                                 
 
 
# List of visible flags that link to other language translations.
# See Lang parameter for list of allowed flag/language codes.    
# If you don't want any flag link, set ShowFlagLinks to "".      
# This parameter is used only if ShowMenu parameter is set to 1. 
# Possible values: "" or "language_codes_separated_by_space"     
# Example: "en es fr nl de"                                      
# Default: ""                                                    
#                                                                
ShowFlagLinks=""                                                 
 
 
# Each URL, shown in stats report views, are links you can click.
# Possible values: 0 or 1                                        
# Default: 1                                                     
#                                                                
ShowLinksOnUrl=1                                                 
 
 
# When AWStats builds HTML links in its report pages, it starts those links
# with "http://". However some links might be HTTPS links, so you can enter
# here the root of all your HTTPS links. If all your site is a SSL web site,
# just enter "/".                                                           
# This parameter is not used if ShowLinksOnUrl is 0.                        
# Example: "/shopping"                                                      
# Example: "/"                                                              
# Default: ""                                                               
#                                                                           
UseHTTPSLinkForUrl=""                                                       
 
 
# Maximum length of URL part shown on stats page (number of characters).
# This affects only URL visible text, links still work.                 
# Default: 64                                                           
#                                                                       
MaxLengthOfShownURL=64                                                  
 
 
# You can enter HTML code that will be added at the top of AWStats reports.
# Default: ""                                                              
#                                                                          
HTMLHeadSection=""                                                         
 
 
# You can enter HTML code that will be added at the end of AWStats reports.
# Great to add advert ban.                                                 
# Default: ""                                                              
#                                                                          
HTMLEndSection=""                                                          
 
 
# By default AWStats page contains meta tag robots=noindex,nofollow
# If you want to have your statistics to be indexed, set this option to 1. 
# Default: 0                                                               
#                                                                          
MetaRobot=0                                                                
 
 
# You can set Logo and LogoLink to use your own logo.
# Logo must be the name of image file (must be in $DirIcons/other directory).
# LogoLink is the expected URL when clicking on Logo.                        
# Default: "awstats_logo6.png"                                               
#                                                                            
Logo="awstats_logo6.png"                                                     
LogoLink="http://www.awstats.org"                                            
 
 
# Value of maximum bar width/height for horizontal/vertical HTML graphics bars.
# Default: 260/90                                                              
#                                                                              
BarWidth   = 260                                                               
BarHeight  = 90                                                                
 
 
# You can ask AWStats to use a particular CSS (Cascading Style Sheet) to
# change its look. To create a style sheet, you can use samples provided with
# AWStats in wwwroot/css directory.                                          
# Example: "/awstatscss/awstats_bw.css"                                      
# Example: "/css/awstats_bw.css"                                             
# Default: ""                                                                
#                                                                            
StyleSheet=""                                                                
 
 
# Those color parameters can be used (if StyleSheet parameter is not used)
# to change AWStats look.                                                 
# Example: color_name="RRGGBB"  # RRGGBB is Red Green Blue components in Hex
#                                                                           
color_Background="FFFFFF"               # Background color for main page (Default = "FFFFFF")
color_TableBGTitle="CCCCDD"             # Background color for table title (Default = "CCCCDD")
color_TableTitle="000000"               # Table title font color (Default = "000000")          
color_TableBG="CCCCDD"                  # Background color for table (Default = "CCCCDD")      
color_TableRowTitle="FFFFFF"    # Table row title font color (Default = "FFFFFF")              
color_TableBGRowTitle="ECECEC"  # Background color for row title (Default = "ECECEC")          
color_TableBorder="ECECEC"              # Table border color (Default = "ECECEC")              
color_text="000000"                             # Color of text (Default = "000000")           
color_textpercent="606060"              # Color of text for percent values (Default = "606060")
color_titletext="000000"                # Color of text title within colored Title Rows (Default = "000000")
color_weekend="EAEAEA"                  # Color for week-end days (Default = "EAEAEA")                      
color_link="0011BB"                             # Color of HTML links (Default = "0011BB")                  
color_hover="605040"                    # Color of HTML on-mouseover links (Default = "605040")             
color_u="FFAA66"                                # Background color for number of unique visitors (Default = "FFAA66")
color_v="F4F090"                                # Background color for number of visites (Default = "F4F090")        
color_p="4477DD"                                # Background color for number of pages (Default = "4477DD")          
color_h="66DDEE"                                # Background color for number of hits (Default = "66DDEE")           
color_k="2EA495"                                # Background color for number of bytes (Default = "2EA495")          
color_s="8888DD"                                # Background color for number of search (Default = "8888DD")         
color_e="CEC2E8"                                # Background color for number of entry pages (Default = "CEC2E8")    
color_x="C1B2E2"                                # Background color for number of exit pages (Default = "C1B2E2")     
 
 
 
#-----------------------------------------------------------------------------
# PLUGINS                                                                     
#-----------------------------------------------------------------------------
 
# Add here all plugin files you want to load.
# Plugin files must be .pm files stored in 'plugins' directory.
# Uncomment LoadPlugin lines to enable a plugin after checking that perl
# modules required by the plugin are installed.                         
 
# PLUGIN: Tooltips
# REQUIRED MODULES: None
# PARAMETERS: None      
# DESCRIPTION: Add tooltips pop-up help boxes to HTML report pages.  
# NOTE: This will increased HTML report pages size, thus server load and bandwidth.
#                                                                                  
# Django : 2015-01-08                                                              
# default: #LoadPlugin="tooltips"                                                  
#LoadPlugin="tooltips"                                                             
LoadPlugin="tooltips"                                                              
 
# PLUGIN: DecodeUTFKeys
# REQUIRED MODULES: Encode and URI::Escape
# PARAMETERS: None                        
# DESCRIPTION: Allow AWStats to show correctly (in language charset) 
# keywords/keyphrases strings even if they were UTF8 coded by the    
# referer search engine.                                             
#                                                                    
#LoadPlugin="decodeutfkeys"                                          
 
# PLUGIN: IPv6
# PARAMETERS: None
# REQUIRED MODULES: Net::IP and Net::DNS
# DESCRIPTION: This plugin gives AWStats capability to make reverse DNS
# lookup on IPv6 addresses.                                            
#                                                                      
#LoadPlugin="ipv6"                                                     
 
# PLUGIN: HashFiles
# REQUIRED MODULES: Storable
# PARAMETERS: None          
# DESCRIPTION: AWStats DNS cache files are read/saved as native hash files. 
# This increases DNS cache files loading speed, above all for very large web sites.
#                                                                                  
#LoadPlugin="hashfiles"                                                            
 
 
# PLUGIN: UserInfo
# REQUIRED MODULES: None
# PARAMETERS: None      
# DESCRIPTION: Add a text (Firtname, Lastname, Office Department, ...) in 
# authenticated user reports for each login value.                        
# A text file called userinfo.myconfig.txt, with two fields (first is login,
# second is text to show, separated by a tab char) must be created in DirData
# directory.                                                                 
#                                                                            
#LoadPlugin="userinfo"                                                       
 
# PLUGIN: HostInfo
# REQUIRED MODULES: Net::XWhois
# PARAMETERS: None             
# DESCRIPTION: Add a column into host chart with a link to open a popup window that shows
# info on host (like whois records).                                                     
#                                                                                        
# Django : 2015-01-08                                                                    
# default: #LoadPlugin="hostinfo"                                                        
LoadPlugin="hostinfo"                                                                    
 
# PLUGIN: ClusterInfo
# REQUIRED MODULES: None
# PARAMETERS: None      
# DESCRIPTION: Add a text (for example a full hostname) in cluster reports for each cluster
# number. A text file called clusterinfo.myconfig.txt, with two fields (first is           
# cluster number, second is text to show) separated by a tab char. must be                 
# created into DirData directory.                                                          
# Note this plugin is useless if ShowClusterStats is set to 0 or if you don't              
# use a personalized log format that contains %cluster tag.                                
#                                                                                          
#LoadPlugin="clusterinfo"                                                                  
 
# PLUGIN: UrlAliases
# REQUIRED MODULES: None
# PARAMETERS: None      
# DESCRIPTION: Add a text (Page title, description...) in URL reports before URL value.
# A text file called urlalias.myconfig.txt, with two fields (first is URL,             
# second is text to show, separated by a tab char) must be created into                
# DirData directory.                                                                   
#                                                                                      
#LoadPlugin="urlalias"                                                                 
 
# PLUGIN: TimeHiRes
# REQUIRED MODULES: Time::HiRes (if Perl < 5.8)
# PARAMETERS: None                             
# DESCRIPTION: Time reported by -showsteps option is in millisecond. For debug purpose.
#                                                                                      
#LoadPlugin="timehires"                                                                
 
# PLUGIN: TimeZone
# REQUIRED MODULES: Time::Local
# PARAMETERS: [timezone offset]
# DESCRIPTION: Allow AWStats to adjust time stamps for a different timezone
# This plugin reduces AWStats speed of 10% !!!!!!!                         
# LoadPlugin="timezone"                                                    
# LoadPlugin="timezone +2"                                                 
# LoadPlugin="timezone CET"                                                
#                                                                          
#LoadPlugin="timezone +2"                                                  
 
# PLUGIN: Rawlog
# REQUIRED MODULES: None
# PARAMETERS: None      
# DESCRIPTION: This plugin adds a form in AWStats main page to allow users to see raw
# content of current log files. A filter is also available.                          
#                                                                                    
#LoadPlugin="rawlog"                                                                 
 
# PLUGIN: GraphApplet
# REQUIRED MODULES: None
# PARAMETERS: [CSS classes to override]
# DESCRIPTION: Supported charts are built by a 3D graphic applet.
#                                                                
#LoadPlugin="graphapplet /awstatsclasses"                               # EXPERIMENTAL FEATURE
 
# PLUGIN: GraphGoogleChartAPI
# REQUIRED MODULES: None     
# PARAMETERS: None           
# DESCRIPTION: Replaces the standard charts with free Google API generated images 
# in HTML reports. If country data is available and more than one country has hits, 
# a map will be generated using Google Visualizations.                              
# Note: The machine where reports are displayed must have Internet access for the   
# charts to be generated. The only data sent to Google includes the statistic numbers, 
# legend names and country names.                                                      
# Warning: This plugin is not compatible with option BuildReportFormat=xhtml.          
#                                                                                      
#LoadPlugin="graphgooglechartapi"                                                      
 
# PLUGIN: GeoIPfree
# REQUIRED MODULES: Geo::IPfree version 0.2+ (from Graciliano M.P.)
# PARAMETERS: None                                                 
# DESCRIPTION: Country chart is built from an Internet IP-Country database.
# This plugin is useless for intranet only log files.                      
# Note: You must choose between using this plugin (need Perl Geo::IPfree   
# module, database is free but not up to date) or the GeoIP plugin (need   
# Perl Geo::IP module from Maxmind, database is also free and up to date). 
# Note: Activestate provide a corrupted version of Geo::IPfree 0.2 Perl    
# module, so install it from elsewhere (from www.cpan.org for example).    
# This plugin reduces AWStats speed by up to 10% !                         
#                                                                          
#LoadPlugin="geoipfree"                                                    
 
# MAXMIND GEO IP MODULES: Please see documentation for notes on all Maxmind modules
 
# PLUGIN: GeoIP
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/geoip.dat[+/pathto/override.txt]]
# DESCRIPTION: Builds a country chart and adds an entry to the hosts                          
# table with country name                                                                     
# Replace spaces in the path of geoip data file with string "%20".                            
#                                                                                             
# Django : 2015-01-08                                                                         
# default: #LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat"                               
LoadPlugin="geoip GEOIP_STANDARD /usr/local/lib64/perl5/GeoIP.dat"                            
 
# PLUGIN: GeoIP_City_Maxmind
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPCity.dat[+/pathto/override.txt]]
# DESCRIPTION: This plugin adds a column under the hosts field and tracks the pageviews           
# and hits by city including regions.                                                             
# Replace spaces in the path of geoip data file with string "%20".                                
#                                                                                                 
# Django : 2015-01-08                                                                             
# default: #LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /pathto/GeoIPCity.dat"                  
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/lib64/perl5/GeoIPCity.dat"               
 
# PLUGIN: GeoIP_ASN_Maxmind
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPASN.dat[+/pathto/override.txt][+http://linktoASlookup]]
# DESCRIPTION: This plugin adds a chart of AS numbers where the host IP address is registered.                           
# This plugin can display some ISP information if included in the database. You can also provide                         
# a link that will be used to lookup additional registration data. Put the link at the end of                            
# the parameter string and the report page will include the link with the full AS number at the end.                     
# Replace spaces in the path of geoip data file with string "%20".                                                       
#                                                                                                                        
#LoadPlugin="geoip_asn_maxmind GEOIP_STANDARD /usr/local/geoip.dat+http://enc.com.au/itools/aut-num.php?autnum="         
 
# PLUGIN: GeoIP_Region_Maxmind
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPRegion.dat[+/pathto/override.txt]]
# DESCRIPTION:This plugin adds a chart of hits by regions. Only regions for US and                  
# Canada can be detected.                                                                           
# Replace spaces in the path of geoip data file with string "%20".                                  
#                                                                                                   
#LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /pathto/GeoIPRegion.dat"                           
 
# PLUGIN: GeoIP_ISP_Maxmind
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPISP.dat[+/pathto/override.txt]]
# DESCRIPTION: This plugin adds a chart of hits by ISP.                                          
# Replace spaces in the path of geoip data file with string "%20".                               
#                                                                                                
#LoadPlugin="geoip_isp_maxmind GEOIP_STANDARD /pathto/GeoIPISP.dat"                              
 
# PLUGIN: GeoIP_Org_Maxmind
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPOrg.dat[+/pathto/override.txt]]
# DESCRIPTION: This plugin add a chart of hits by Organization name                              
# Replace spaces in the path of geoip data file with string "%20".                               
#                                                                                                
#LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /pathto/GeoIPOrg.dat"                              
 
 
#-----------------------------------------------------------------------------
# EXTRA SECTIONS                                                              
#-----------------------------------------------------------------------------
 
# You can define your own charts, you choose here what are rows and columns
# keys. This feature is particularly useful for marketing purpose, tracking
# products orders for example.                                             
# For this, edit all parameters of Extra section. Each set of parameter is a
# different chart. For several charts, duplicate section changing the number.
# Note: Each Extra section reduces AWStats speed by 8%.                      
#                                                                            
# WARNING: A wrong setup of Extra section might result in too large arrays   
# that will consume all your memory, making AWStats unusable after several   
# updates, so be sure to setup it correctly.                                 
# In most cases, you don't need this feature.                                
#                                                                            
# ExtraSectionNameX is title of your personalized chart.                     
# ExtraSectionCodeFilterX is list of codes the record code field must match. 
#   Put an empty string for no test on code.                                 
# ExtraSectionConditionX are conditions you can use to count or not the hit, 
#   Use one of the field condition                                           
#   (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOSTINLOG,HOST,VHOST,extraX)   
#   and a regex to match, after a coma. Use "||" for "OR".                   
# ExtraSectionFirstColumnTitleX is the first column title of the chart.      
# ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to  
#   extract value from                                                       
#   (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOSTINLOG,HOST,VHOST,extraX)   
#   and how to extract the value (using regex syntax). Each different value  
#   found will appear in first column of report on a different row. Be sure  
#   that list of different possible values will not grow indefinitely.       
# ExtraSectionFirstColumnFormatX is the string used to write value.
# ExtraSectionStatTypesX are things you want to count. You can use standard
#   code letters (P for pages,H for hits,B for bandwidth,L for last access).
# ExtraSectionAddAverageRowX add a row at bottom of chart with average values.
# ExtraSectionAddSumRowX add a row at bottom of chart with sum values.
# MaxNbOfExtraX is maximum number of rows shown in chart.
# MinHitExtraX is minimum number of hits required to be shown in chart.
#
 
# Example to report the 20 products the most ordered by "order.cgi" script
#ExtraSectionName1="Product orders"
#ExtraSectionCodeFilter1="200 304"
#ExtraSectionCondition1="URL,\/cgi\-bin\/order\.cgi||URL,\/cgi\-bin\/order2\.cgi"
#ExtraSectionFirstColumnTitle1="Product ID"
#ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)"
#ExtraSectionFirstColumnFormat1="%s"
#ExtraSectionStatTypes1=PL
#ExtraSectionAddAverageRow1=0
#ExtraSectionAddSumRow1=1
#MaxNbOfExtra1=20
#MinHitExtra1=1
 
 
# There is also a global parameter ExtraTrackedRowsLimit that limits the
# number of possible rows an ExtraSection can report. This parameter is
# here to protect too much memory use when you make a bad setup in your
# ExtraSection. It applies to all ExtraSection independently meaning that
# none ExtraSection can report more rows than value defined by ExtraTrackedRowsLimit.
# If you know an ExtraSection will report more rows than its value, you should
# increase this parameter or AWStats will stop with an error.
# Example: 2000
# Default: 500
#
ExtraTrackedRowsLimit=500
 
 
#-----------------------------------------------------------------------------
# INCLUDES
#-----------------------------------------------------------------------------
 
# You can include other config files using the directive with the name of the
# config file.
# This is particularly useful for users who have a lot of virtual servers, so
# a lot of config files and want to maintain common values in only one file.
# Note that when a variable is defined both in a config file and in an
# included file, AWStats will use the last value read for parameters that
# contains one value and AWStats will concat all values from both files for
# parameters that are lists of values.
#
 
#Include ""

Mit Hilfe von Plugins, kann man bei den Statistikseiten zusätzliche Informationen bereitstellen bzw. zur Anzeige bringen.

Tooltips

Als ersten wenden wir uns dem Plugin tooltips zu, mit Hilfe dessen zusätzliche Informationen in Form von Infoboxen hizugefügt werden. Für das Plugin werden keine weiteren Programme benötigt.

 Bild: Beispiel eines eingeblendeten Tooltip-Kastens bei den Zugriffen

In der Konfigurationsdatei unseres Webseite aktivieren wir das Plugin, in dem wir das Kommentarzeichen # entfernen.

 # vim /etc/awstats/awstats.dokuwiki.nausch.org.conf
...
 
# PLUGIN: Tooltips
# REQUIRED MODULES: None
# PARAMETERS: None
# DESCRIPTION: Add tooltips pop-up help boxes to HTML report pages.  
# NOTE: This will increased HTML report pages size, thus server load and bandwidth.
#
# Django : 2015-01-08
# default: #LoadPlugin="tooltips"
#LoadPlugin="tooltips"
LoadPlugin="tooltips"
 
...

HostInfo

Mit dem Plugin HostInfo kann man mit einem Mausklick auf das ? in der Spalte Whois Informationen sich direkt anzeigen lassen und muss nicht die Konsole oder einen Webdienst dazu in Anspruch nehmen.

Bild: Whois-Abfrage einer IP-Adresse bei einer AWStats-Auswertung

Voraussetzung für die Abfrage über das Perl-Script ist das installierte Perl-Paket Net::XWhois. Haben wir das Repository mailserver.guru eingebunden, können wir das Paket perl-Net-XWhois-0.90-1.el7.centos.noarch einfach mit Hilfe von yum installieren.

 # yum install perl-Net-XWhois -y

Zum Aktivieren des Plugins entfernen wir auch hier das Kommentarzeichen # in der Konfigurationsdatei unseres Beispielwebservers.

 # vim /etc/awstats/awstats.dokuwiki.nausch.org.conf
...
 
# PLUGIN: HostInfo
# REQUIRED MODULES: Net::XWhois
# PARAMETERS: None
# DESCRIPTION: Add a column into host chart with a link to open a popup window that shows
# info on host (like whois records).
# 
# Django : 2015-01-08
# default: #LoadPlugin="hostinfo"
LoadPlugin="hostinfo"
 
...

GeoIP

Auf unseren Statistikseiten können wir uns anzeigen lassen aus welchen Ländern und Orten die Anfragen/Verbindungen kamen. Hierzu wird neben dem Perl-Modul perl-Geo-IP noch die beiden Datenbanken zur Auflösung der Orte benötigt.

Bild: Bildschirmhardcopy der GeoIP Daten / Flaggen

Bei der Grundinstallation von AWStats wurde bereits da nötige Perl-Modul perl-Geo-IP installiert. Falls es dennoch fehlen sollte installiert man dies einfach mit Hilfe von yum.

 # yum install perl-Geo-IP -y

Was nun noch fehlt sind die beiden Datenbanken zur Auflösung der Länder und Orte. Diese Datenbanken holen wir uns direkt bei MaxMind. Die beiden Datenbankfiles legen wir in unserm System z.B. unter /usr/local/lib64/perl5/ ab - das entsprechende Verzeichnis legen wir uns nun an und wechseln dann in dieses Verzeichnis.

 # mkdir -p /usr/local/lib64/perl5/ && cd /usr/local/lib64/perl5/

Anschließend wechseln wir in dieses Verzeichnis.

 # cd /usr/local/lib64/perl5/

Anschließend laden wir uns das GeoIP Datenbank auf unseren Rechner.

 # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

Zu guter Letzt entpacken wir die heruntergeladene Datei an Ort und Stelle.

 # gunzip GeoIP.dat.gz

Das Gleiche machen wir nun mit der GeoLiteCity Datenbank.

 # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

Auch diese entpacken wir nun noch.

 # gunzip GeoLiteCity.dat.gz

In der betreffenden Hostkonfigurationsdatei von awstats aktivieren wir dann noch die beiden plugins.

 # vim /etc/awstats/awstats.dokuwiki.nausch.org.conf
...
 
 
# PLUGIN: GeoIP
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/geoip.dat[+/pathto/override.txt]]
# DESCRIPTION: Builds a country chart and adds an entry to the hosts 
# table with country name
# Replace spaces in the path of geoip data file with string "%20".
#
# Django : 2015-01-08
# default: #LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat"
LoadPlugin="geoip GEOIP_STANDARD /usr/local/lib64/perl5/GeoIP.dat"
 
# PLUGIN: GeoIP_City_Maxmind
# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind)
# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPCity.dat[+/pathto/override.txt]]
# DESCRIPTION: This plugin adds a column under the hosts field and tracks the pageviews
# and hits by city including regions.
# Replace spaces in the path of geoip data file with string "%20".
#
# Django : 2015-01-08
# default: #LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /pathto/GeoIPCity.dat"
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/lib64/perl5/GeoIPCity.dat"
 
...

WICHTIG:

Die Geo-Daten werden einmal im Monat aktualisiert zur Verfügung gestellt! Wir aktualisieren als bei Bedarf diese Datenbankdateien regelmäßig.

Zum Update der GeoIP-Daten legen wir uns also einen Cronjob an, der monatlich aufgerufen werden soll.

 # vim /etc/cron.monthly/geoip-update
# vim /etc/cron.monthly/geoip-update
#!/bin/bash
#
# Django : 2014-06-30
# Monatlicher Update der geoIP-Daten
#
 
# Programmlauf des monatlich laufenden cronjobs verzögern.
/bin/sleep $[$RANDOM/1024]
 
# Update GeoIP:
/usr/bin/wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O - | gunzip > /usr/local/lib64/perl5/GeoIP.dat.new && mv /usr/local/lib64/perl5/GeoIP.dat.new /usr/local/lib64/perl5/GeoIP.dat -f
 
# Update GeoIP-City:
/usr/bin/wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz -O - | gunzip > /usr/local/lib64/perl5/GeoIPCity.dat.new && mv /usr/local/lib64/perl5/GeoIPCity.dat.new /usr/local/lib64/perl5/GeoIPCity.dat -f

Anschließend passen wir noch die Dateirechte unseres Scriptes an.

 # chmod +x /etc/cron.monthly/geoip-update

In regelmäßigen Abständen werden die Logfiles unseres Webserver rotiert, d.h. es werden die alten Daten gapackt und eine neue Logdatei angelegt.

AWStats kann jedoch nur auf das aktuelle Logfile zugreifen, nicht aber auf die bereits archivierten. Damit nun keine Statistik-Daten verloren gehen, müssen wir noch sicherstellen, dass vor dem Archivierungsintervall von logrotate, AWStats einen Update seiner Statistikfiles machen kann.

Apache

Verwenden wir einen Apache Webserver, so tragen wir in die vorhandene Konfigurationsdatei /etc/logrotate.d/httpd nachfolgende Zeilen ein.

    prerotate
        /usr/share/awstats/tools/awstats_updateall.pl now -configdir="/etc/awstats" -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
    endscript
 # vim /etc/logrotate.d/httpd
/etc/logrotate.d/httpd
/var/log/httpd/*log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    # Django : 2015-01-10
    # vor dem Rotieren des Webserver-Logs, noch die Logdatei für die AWStats-Statistik abarbeiten
    prerotate
        /usr/share/awstats/tools/awstats_updateall.pl now -configdir="/etc/awstats" -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
    endscript
    postrotate
        /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
    endscript
}

NGiNX

Die Anpassungen beim Einsatz eines NGiNX Webservers sind fast identisch mit denen des Apache Webservers, ändert sich ja nur die Stelle.

 # vim /etc/logrotate.d/nginx
/etc/logrotate.d/nginx
/var/log/nginx/*log {
    create 0644 nginx nginx
    daily
    rotate 10
    missingok
    notifempty
    compress
    sharedscripts
    # Django : 2015-01-10
    # vor dem Rotieren des Webserver-Logs, noch die Logdatei für die AWStats-Statistik abarbeiten
    prerotate
        /usr/share/awstats/tools/awstats_updateall.pl now -configdir="/etc/awstats" -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl"
    endscript
    postrotate
        /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
    endscript
}

Nach erfolgreicher Konfiguration steht dem ersten Aufruf nichts mehr im Wege. Dank unserer Rewrite-Regel URL beautifying reicht der Aufruf http://awstats.nausch.org gefolgt vom Namen des betreffenden vHOST's dokuwiki.nausch.org; im Falle von dokuwiki.nausch.org erfolgt dies über folgende URL:

 $ firefox http://awstats.nausch.org/dokuwiki.nausch.org

Bild: AWStats Bildschirmhardcopy

Logfileanalyse und -Auswertung mit BetterAWStats unter CentOS 7.x

Nachdem uns AWStats ja schon viele Dinge bietet, verbessern wir das ganze noch mittels BetterAWStats. Die ganzten Gimicks sind auf der Projektseite ausfürlich beschrieben.

Mir persönlich gefällt vor allem neben der optischen Aufmachung, die komfortable Möglichkeit Auswertungen einzelner VHosts zu wechseln.

Von der Homepage laden wir uns das aktuelle ZIP-Archiv auf unseren Rechner.

Bevor wir nun das besagte Programmarchiv auf unseren Rechner holen, wechseln wir als erstes hierzu in unser Programmquellen-Verzeichnis. Haben wir selbiges noch nicht angelegt, dann ist natürlich noch dieses anzulegen:

 # mkdir -p /usr/local/src/packages/

Anschließend wechseln wir in unser Verzeichnis:

 # cd /usr/local/src/packages/

Nun laden wir das Programmarchiv von der Projektseite.

 # wget http://downloads.sourceforge.net/project/betterawstats/betterawstats/1.0/betterawstats-1.0.zip

Das gerade heruntergeladene tar.gz-Archiv entpacken wir nun als nächstes.

 # unzip betterawstats-1.0.zip -d /usr/share/
Archive:  betterawstats-1.0.zip
   creating: /usr/share/betterawstats/
  inflating: /usr/share/betterawstats/bawstats.info  
  inflating: /usr/share/betterawstats/bawstats.install  
  inflating: /usr/share/betterawstats/bawstats.module  
  inflating: /usr/share/betterawstats/config.php  
   creating: /usr/share/betterawstats/core/
  inflating: /usr/share/betterawstats/core/config.inc.php  
  inflating: /usr/share/betterawstats/core/config_default.inc.php  
  inflating: /usr/share/betterawstats/core/data.inc.php  
  inflating: /usr/share/betterawstats/core/display.inc.php  
  inflating: /usr/share/betterawstats/core/display_helpers.php  
  inflating: /usr/share/betterawstats/core/extras.inc.php  
  inflating: /usr/share/betterawstats/core/helpers.inc.php  
 extracting: /usr/share/betterawstats/core/index.html  
  inflating: /usr/share/betterawstats/core/language.inc.php  
  inflating: /usr/share/betterawstats/core/library.inc.php  
   creating: /usr/share/betterawstats/docs/
  inflating: /usr/share/betterawstats/docs/FAQ.txt  
  inflating: /usr/share/betterawstats/docs/history.txt  
 extracting: /usr/share/betterawstats/docs/index.html  
  inflating: /usr/share/betterawstats/docs/install.drupal.txt  
  inflating: /usr/share/betterawstats/docs/install.txt  
  inflating: /usr/share/betterawstats/docs/LICENSE.TXT  
  inflating: /usr/share/betterawstats/favicon.ico  
  inflating: /usr/share/betterawstats/horizontal.css  
   creating: /usr/share/betterawstats/icons/
  inflating: /usr/share/betterawstats/icons/bar.png  
 extracting: /usr/share/betterawstats/icons/btn_empty.gif  
 extracting: /usr/share/betterawstats/icons/circ-blue.png  
 extracting: /usr/share/betterawstats/icons/circ-green.png  
  inflating: /usr/share/betterawstats/icons/collapse.gif  
  inflating: /usr/share/betterawstats/icons/empty.png  
 extracting: /usr/share/betterawstats/icons/expand.gif  
  inflating: /usr/share/betterawstats/icons/external.png  
  inflating: /usr/share/betterawstats/icons/fulllist.png  
 extracting: /usr/share/betterawstats/icons/fulllist_btn.png  
 extracting: /usr/share/betterawstats/icons/help.png  
 extracting: /usr/share/betterawstats/icons/index.html  
  inflating: /usr/share/betterawstats/icons/screen.png  
  inflating: /usr/share/betterawstats/icons/unknown.png  
 extracting: /usr/share/betterawstats/icons/unknown_btn.png  
  inflating: /usr/share/betterawstats/icons/versions.png  
 extracting: /usr/share/betterawstats/icons/versions_btn.png  
  inflating: /usr/share/betterawstats/icons/wmap.png  
   creating: /usr/share/betterawstats/includes/
  inflating: /usr/share/betterawstats/includes/bawstats.admin.inc  
  inflating: /usr/share/betterawstats/includes/bawstats.config.inc  
  inflating: /usr/share/betterawstats/includes/bawstats.css  
  inflating: /usr/share/betterawstats/includes/bawstats.stats.inc  
 extracting: /usr/share/betterawstats/includes/index.html  
  inflating: /usr/share/betterawstats/index.php  
   creating: /usr/share/betterawstats/language/
 extracting: /usr/share/betterawstats/language/index.html  
  inflating: /usr/share/betterawstats/language/lang_de.inc.php  
  inflating: /usr/share/betterawstats/language/lang_en.inc.php  
  inflating: /usr/share/betterawstats/language/lang_nl.inc.php  
   creating: /usr/share/betterawstats/modules/
 extracting: /usr/share/betterawstats/modules/index.html  
  inflating: /usr/share/betterawstats/modules/render_htmlchart.inc.php  
  inflating: /usr/share/betterawstats/modules/render_htmlchart2.inc.php  
  inflating: /usr/share/betterawstats/modules/render_jpgraph.inc.php  
  inflating: /usr/share/betterawstats/modules/render_map.inc.php  
  inflating: /usr/share/betterawstats/modules/render_table.inc.php  
  inflating: /usr/share/betterawstats/scripts.js  
  inflating: /usr/share/betterawstats/style.css  
  inflating: /usr/share/betterawstats/vertical.css 

Für den Betrieb von BetterAWStats benötigen wir noch das Paket php-gd zur PHP Unterstützung der GD Gaphic Library, welches wir noch via yum installieren, sofern es nicht schon installiert wurde.

 yum install php-gd -y

bzw.

 # yum install php70u-gd -y

bei Verwendung von PHP 7.0

Detaillierte Hinweise zur Installation und Konfiguration von BetterAWStats findet man in der mitgelieferten Installations-Datei.

 # cat /usr/share/betterawstats/docs/install.txt 
/usr/share/betterawstats/docs/install.txt
REQUIREMENTS:
 
- awstats and generated datafiles from awstats.
- PHP 5.2 or above
- a Webserver that can process PHP files (Apache, IIS etc)
- 1MB space
- A recent browser version that can properly render CSS, such as Opera 9, Firefox 2, IE 7 etc.
- 1024x786 screen or larger
 
INSTALL PROCEDURE BETTERAWSTATS:
 
1. Extract the files into any web-accessible directory, preserving the directory structure.
2. Edit the file config.php. Specially the paths to the awstats files have to be correct
3. Open index.php in your browser and you should see the results.
4. Under Linux, in order to use the online config editor, please make your config.php 
   file writable by apache:
    chown apache:apache ./config.php
    chmod 664 ./config.php
   and set $BAW_CONF['online_config'] to true.
   If your BetterAWStats installation is not protected by password, you have to make the 
   config.php file unwritable after you changed the settings and disable $BAW_CONF['online_config']
 
IMPORTANT NOTES:
 
It is STRONGLY recommended to password-protect the folder where BetterAWStats is installed
SPECIALLY when using the online config editor. You can use .htaccess files for example.
 
DAILY USE:
 
- update your statistics as usual with awstats
- Open BetterAwstats to see the statistics
 
HOW TO ADD ADITIONAL EXTRA SECTIONS:
 
Awstats allows to add aditional extra sections with custom stats. In order to create those,
1. Please edit the file /core/extras.inc.php. Take a look at section EXTRAS_1 and copy the whole function again into the file, changing the function to show the data desired.
2. Below that, please copy the $BAW_CONF_DIS_DEF section and edit the fariables according to point 1.
3. Copy the respective section also in config.php and adjust the values accordingly.

Als erstes machen wir eine Sicherungskopie der mitgelieferten Konfigurationsdatei.

 # cp /usr/share/betterawstats/config.php /usr/share/betterawstats/config.php.default

Als nächstes passen wir die Dateirechte der Konfigurationsdatei an.

 # chmod 640 /usr/share/betterawstats/config.php

Anschließend schenken wir unserem Apache- oder NGiNX-Systemuser das Webrootverzeichnis.

 # chown apache.root /usr/share/betterawstats/ -R

bzw.

 # chown nginx.root /usr/share/betterawstats/ -R

Nun bearbeiten wir die Konfigurationsdatei von betterawstats mit dem Editor unserer wahl, z.B. vim.

 # vim /usr/share/betterawstats/config.php
/usr/share/betterawstats/config.php
<?php                                                                                                                                     
/**                                                                                                                                       
 * betterawstats - an alternative display for awstats data                                                                                
 *                                                                                                                                        
 * @author      Oliver Spiesshofer, support at betterawstats dot com                                                                      
 * @copyright   2008 Oliver Spiesshofer                                                                                                   
 * @version     1.0                                                                                                                       
 * @link        http://betterawstats.com                                                                                                  
 *                                                                                                                                        
 * Based on the GPL AWStats Totals script by:                                                                                             
 * Jeroen de Jong <jeroen@telartis.nl>                                                                                                    
 * copyright   2004-2006 Telartis                                                                                                         
 * version 1.13 (http://www.telartis.nl/xcms/awstats)                                                                                     
 *                                                                                                                                        
 * This program is free software; you can redistribute it and/or                                                                          
 * modify it under the terms of the GNU General Public License                                                                            
 * as published by the Free Software Foundation; either version 2                                                                         
 * of the License, or (at your option) any later version.                                                                                 
 *                                                                                                                                        
 * This program is distributed in the hope that it will be useful,                                                                        
 * but WITHOUT ANY WARRANTY; without even the implied warranty of                                                                         
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                                                          
 * GNU General Public License for more details.                                                                                           
 *                                                                                                                                        
 * You should have received a copy of the GNU General Public License                                                                      
 * along with this program; if not, write to the Free Software                                                                            
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.                                                            
 */                                                                                                                                       
 
// this file can't be used on its own - do not change these 3 lines
if (strpos ($_SERVER['PHP_SELF'], 'config.php') !== false) {       
    die ('This file can not be used on its own!');                 
}                                                                  
// ATTENTION: BetterAWstats has an online config editor that you can use
// instead of editing this file here. The link is on the bottom of the menu!
// To use it, set $BAW_CONF['online_config']= true; and make sure that the  
// file is writable by the server, AND protectthe BetterAWStats installation
// by a .htaccess file!                                                     
 
//*********************************************************/
//*          SITE SETTINGS                                  
//*********************************************************/
 
// NAME:    Script URL
// INFO:    The url of BetterAWstats' directory, No trailing slash
// Django : 2015-01-13                                            
// DEFAULT: 'http://awstats.local'                                
$BAW_CONF['site_url'] = 'https://betterawstats.nausch.org';       
 
// NAME:    Script path
// INFO:    The path of BetterAWstats, No trailing slash
// Django : 2015-01-13                                  
// DEFAULT: '/path/to/betterawstats/'                   
$BAW_CONF['site_path'] = '/usr/share/betterawstats';    
 
// NAME:    Path to AWStats Data
// INFO:    Set this value to the directory where AWStats saves its database
//          files into. ATTENTION: If you read those files on windows but have
//          them created on linux or the other way round, make sure you transfer
//          them 'BINARY'. Otherwise they cannot be read properly. No trailing  
//          slash                                                               
// Django : 2015-01-13                                                          
// DEFAULT: '/path/to/betterawstats/awstats/data'                               
$BAW_CONF['path_data'] = '/usr/share/awstats/wwwdata';                          
 
// NAME:    Path to AWStats Libraries
// INFO:    Set this value to the directory where AWStats saves its library
//          files into. No trailing slash                                  
// Django : 2015-01-13                                                     
// DEFAULT: '/path/to/betterawstats/awstats/lib'                           
$BAW_CONF['path_lib'] = '/usr/share/awstats/lib';                          
 
// NAME:    Path to AWStats Language files
// INFO:    Set this value to the directory where AWStats saves its language
//          files into. No trailing slash                                   
// Django : 2015-01-13                                                      
// DEFAULT: '/path/to/betterawstats/awstats/lang'                           
$BAW_CONF['path_lang'] = '/usr/share/awstats/lang';                         
 
// NAME:    URL to AWStats Icons
// INFO:    The url to the awstats icons, should include the whole http://...,
//          no trailing slash.                                                
// Django : 2015-01-13                                                        
// DEFAULT: 'http://awstats.local/awstats/icon'                               
$BAW_CONF['icons_url'] = 'https://awstats.nausch.org/awstatsicons';           
 
// NAME:    Web Configuration
// INFO:    Enable the online configuration editor? WARNING: Your config.php has
//          to be writable in order to enable this. This is a BAD idea to use   
//          unless the folder is password-protected with a .htaccess file or    
//          similar.                                                            
// DEFAULT: true                                                                
// POSSIBLE VALUES: true, false                                                 
$BAW_CONF['online_config'] = false;                                             
 
// NAME:    Change configuration password?
// INFO:    This password is needed to access the online configuration. It has
//          to be longer than 5 letters.                                      
// Django : 2015-01-13                                                        
// DEFAULT: ''                                                                
$BAW_CONF['online_config_password'] = '14m7h3B357,fUcK7h3R357!';                     
 
// NAME:    Limit to server?
// INFO:    Set this to a simgle server that you want to limit or "false" to
//          show all. The server name should be the one used for awstats.   
// DEFAULT: 'show_all'                                                      
// POSSIBLE VALUES: 'sitename.org', 'show_all'                              
$BAW_CONF['limit_server'] = 'show_all';                                     
 
 
 
//*********************************************************/
//*          LAYOUT SETTINGS                                
//*********************************************************/
 
// NAME:    Layout Type
// INFO:    Display page in vertical or horizontal layout?
// DEFAULT: 'vertical'                                    
// POSSIBLE VALUES: 'vertical', 'horizontal'              
$BAW_CONF['layout_type'] = 'vertical';                    
 
// NAME:    Language
// INFO:    Set your language. Set to "auto" to autodetect from browser
// DEFAULT: 'auto'                                                     
// POSSIBLE VALUES: 'auto', 'al', 'ba', 'bg', 'ca', 'tw', 'cn', 'cz', 'dk', 'nl',
//                  'en', 'et', 'eu', 'fi', 'fr', 'gl', 'de', 'gr', 'he', 'hu',  
//                  'is', 'id', 'it', 'jp', 'kr', 'lv', 'nn', 'nb', 'pl', 'pt',  
//                  'br', 'ro', 'ru', 'sr', 'sk', 'es', 'se', 'tr', 'ua', 'wlk'  
// Django : 2015-01-13                                                           
$BAW_CONF['lang_setting'] = 'de';                                                
 
// NAME:    Decimal Point
// INFO:    Decimal Point Character (99.9)
// DEFAULT: '.'                           
// Django : 2015-01-13                    
$BAW_CONF['dec_point'] = ',';             
 
// NAME:    Thousands separator
// INFO:    Thousand Digit separator (1'000)
// DEFAULT: "'"                             
// Django : 2015-01-13                      
$BAW_CONF['tho_point'] = ".";               
 
// NAME:    Date format (2007-31-12)
// INFO:    How should a date look like? For formatting, please consult
//          http://php.net/manual/en/function.date.php                 
// DEFAULT: 'Y-M-d'                                                    
// Django : 2015-01-13                                                 
$BAW_CONF['date_format'] = 'd-M-Y';                                    
 
// NAME:    Date & Time format (2007-31-12 23:59)
// INFO:    How should a date & time look like? For formatting,please consult
//          http://php.net/manual/en/function.date.php                       
// DEFAULT: 'Y-M-d H:i'                                                      
// Django : 2015-01-13                                                       
$BAW_CONF['date_time_format'] = 'd-M-Y - H:i';                               
 
// NAME:    Percentage decimals
// INFO:    How many decimals for percentage value? (99.9%)
// DEFAULT: '1'                                            
// Django : 2015-01-13                                     
$BAW_CONF['percent_decimals'] = '2';                       
 
// NAME:    Hide Empty data
// INFO:    Completely hide graphs with zero entries? (The menu will also be
//          hidden)                                                         
// DEFAULT: true                                                            
// POSSIBLE VALUES: true, false                                             
$BAW_CONF['hideempty'] = true;                                              
 
// NAME:    Submit dropdowns on change
// INFO:    If enabled, the site/date dropdowns do not have an "OK"-button. The
//          page is refreshed as soon as you choose a new value. Not recommended
//          for large sites.                                                    
// DEFAULT: true                                                                
// POSSIBLE VALUES: true, false                                                 
$BAW_CONF['auto_submit_form'] = true;                                           
 
 
 
//*********************************************************/
//*          TABLE SETTINGS                                 
//*********************************************************/
 
// NAME:    First day of the week
// INFO:    Should Sunday be the first day of the week or monday?
// DEFAULT: '1'                                                  
// POSSIBLE VALUES: '1', '2'                                     
// Django : 2015-01-13                                           
$BAW_CONF['firstdayofweek'] = '2';                               
 
// NAME:    Field Length
// INFO:    What is the max. text length of table fields? (Applies only to
//          links)                                                        
// DEFAULT: '65'                                                          
$BAW_CONF['field_length'] = '50';                                         
 
// NAME:    Max. Table Lines
// INFO:    What is the max. no. of lines a table can have? Set to "false" to
//          disable. If a table reaches this number of lines, The rest is    
//          summarized into one line. This also applies to the "full list" view
//          of a table                                                         
// DEFAULT: '10000'                                                            
$BAW_CONF['maxlines'] = '10000';                                               
 
 
 
//*********************************************************/
//*          CHART SETTINGS                                 
//*********************************************************/
 
// NAME:    Max scale for Visitors
// INFO:    The maximum value of the chosen option will define the maximum
//          height of the Visitors bars in the chart                      
// DEFAULT: 'layout_visits'                                               
// POSSIBLE VALUES: 'layout_visitos', 'layout_visits', 'layout_pages',    
//                  'layout_hits', 'layout_bytes'                         
$BAW_CONF['max_visitors'] = 'layout_visits';                              
 
// NAME:    Max scale for Visits
// INFO:    The maximum value of the chosen option will define the maximum
//          height of the Visits bars in the chart                        
// DEFAULT: 'layout_visits'                                               
// POSSIBLE VALUES: 'layout_visits', 'layout_pages', 'layout_hits', 'layout_bytes'
$BAW_CONF['max_visits'] = 'layout_visits';                                        
 
// NAME:    Max scale for Pages
// INFO:    The maximum value of the chosen option will define the maximum
//          height of the Pages bars in the chart                         
// DEFAULT: 'layout_pages'                                                
// POSSIBLE VALUES: 'layout_pages', 'layout_hits', 'layout_bytes'         
$BAW_CONF['max_pages'] = 'layout_pages';                                  
 
// NAME:    Max scale for Hits
// INFO:    The maximum value of the chosen option will define the maximum
//          height of the Hits bars in the chart                          
// DEFAULT: 'layout_hits'                                                 
// POSSIBLE VALUES: 'layout_hits', 'layout_bytes'                         
$BAW_CONF['max_hits'] = 'layout_hits';                                    
 
// NAME:    Max no of chart rows
// INFO:    When displaying the charts with the full lists, How many items can
//          there be displayed? The rest will sum up into "Others". This is done
//          to prevent too wide charts                                          
// DEFAULT: '50'                                                                
$BAW_CONF['max_chart_items'] = '30';                                            
 
// NAME:    Chart Titles?
// INFO:    If enabled, it will show a title on top of each chart.
// DEFAULT: true                                                  
// POSSIBLE VALUES: true, false                                   
$BAW_CONF['chart_titles'] = false;                                
 
 
 
//*********************************************************/
//*          JPGRAPH SETTINGS                               
//*********************************************************/
 
// NAME:    Enable JPgraph?
// INFO:    To use JPGraph, you have to download it from
//          http://www.aditus.nu/jpgraph/jpdownload.php.
// DEFAULT: false                                       
// POSSIBLE VALUES: true, false                         
$BAW_CONF['use_jpgraph'] = false;                        
 
// NAME:    Path to JPGraph
// INFO:    Where is your JPGraph installation? (The folder where jpgraph.php is
//          in. No trailing slash)                                              
$BAW_CONF['jpgraph_path'] = '/path/to/betterawstats/jpgraph/src';
 
 
 
//*********************************************************/
//*          ADVANCED SETTINGS                              
//*********************************************************/
 
// NAME:    XHTML/ HTML
// INFO:    Do you want output in HTML or XHTML?
// DEFAULT: true                                
// POSSIBLE VALUES: true, false                 
$BAW_CONF['xhtml'] = false;                     
 
// NAME:    Debug
// INFO:    Do you want to show debug-output (VERY detailed)?
// DEFAULT: true                                             
// POSSIBLE VALUES: true, false                              
$BAW_CONF['debug'] = false;                                  
 
// NAME:    Parser Stats
// INFO:    Do you want to show log file parsing data below the stats summary?
// DEFAULT: true                                                              
// POSSIBLE VALUES: true, false                                               
$BAW_CONF['show_parser_stats'] = true;                                        
 
// NAME:    Module settings
// INFO:    Are you using BetterAWstats as a module for another software?
//          (Currently only Drupal is supported)                         
// DEFAULT: 'none'                                                       
// POSSIBLE VALUES: 'none', 'drupal'                                     
$BAW_CONF['module'] = 'none';                                            
 
 
 
//*********************************************************/
//*          DISPLAY                                        
//*********************************************************/
 
// NAME:    Summary
// INFO:    General Overview of key figures and dates
$BAW_CONF_DIS['overview'] = array(                   
    'show' => true,    // Show this Data?            
    'collapse' => false,    // Collapsed?            
    'order' => '1',    // Item Sequence              
);                                                   
 
// NAME:    Monthly history
// INFO:    Monthly data   
$BAW_CONF_DIS['months'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '2',    // Item Sequence  
    'top_x' => '24',    // Show how many entries?
    'avg' => true,    // Show averages?          
    'total' => true,    // Show total Sum?       
    'chart' => true,    // Show HTML chart?      
    'table' => true,    // Show data table?      
);                                               
 
// NAME:    Days of month
// INFO:    Daily data   
$BAW_CONF_DIS['days'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '3',    // Item Sequence  
    'avg' => true,    // Show averages?  
    'total' => true,    // Show total Sum?
    'chart' => true,    // Show HTML chart?
    'table' => true,    // Show data table?
);                                         
 
// NAME:    Days of week (Averages)
// INFO:    Weekdays               
$BAW_CONF_DIS['weekdays'] = array( 
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '4',    // Item Sequence  
    'avg' => true,    // Show averages?  
    'total' => false,    // Show total Sum?
    'chart' => true,    // Show HTML chart?
    'table' => true,    // Show data table?
);                                         
 
// NAME:    Hours (Averages)
// INFO:    Hours of the day
$BAW_CONF_DIS['hours'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '5',    // Item Sequence  
    'avg' => true,    // Show averages?  
    'total' => false,    // Show total Sum?
    'chart' => true,    // Show HTML chart?
    'table' => true,    // Show data table?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '1'=Hours, '2'=Pages, '3'=Hits, '4'=Bandwidth                 
    'sort_dir' => SORT_ASC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                       
);                                                                    
 
// NAME:    Visitors domains/countries
// INFO:    Domains of visitors       
$BAW_CONF_DIS['domains'] = array(     
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '6',    // Item Sequence  
    'avg' => false,    // Show averages? 
    'total' => false,    // Show total Sum?
    'chart' => true,    // Show HTML chart?
    'table' => true,    // Show data table?
    'map' => true,    // Show Map Image?   
    'top_x' => '10',    // Show how many entries?
    'sort' => '0',    // Sort for which column?  Possible values are:
    // 'key'=Visitors domains/countries, '0'=Pages, '1'=Hits, '2'=Bandwidth
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:    
    // SORT_ASC=Ascending, SORT_DESC=Descending                            
);                                                                         
 
// NAME:    Hosts
// INFO:    IP addresses of visitors
$BAW_CONF_DIS['visitors'] = array(  
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '7',    // Item Sequence  
    'avg' => true,    // Show averages?  
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Hosts, '1'=Pages, '2'=Hits, '3'=Bandwidth, '4'=Ratio(Hits/Pages),
    // '5'=Last visit                                                       
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:     
    // SORT_ASC=Ascending, SORT_DESC=Descending                             
    'assumebot' => '1',    // Hits/pages minimum ratio to assume normal user?
);                                                                           
 
// NAME:    Authenticated users
// INFO:    Logins for username/password protected pages
$BAW_CONF_DIS['logins'] = array(                        
    'show' => true,    // Show this Data?               
    'collapse' => false,    // Collapsed?               
    'order' => '8',    // Item Sequence                 
    'avg' => false,    // Show averages?                
    'total' => false,    // Show total Sum?             
    'table' => true,    // Show data table?             
    'top_x' => '5',    // Show how many entries?        
    'sort' => '1',    // Sort for which column?  Possible values are:
    // 'key'=Authenticated users, '0'=Pages, '1'=Hits, '2'=Bandwidth, '3'=Last
    // visit                                                                  
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:       
    // SORT_ASC=Ascending, SORT_DESC=Descending                               
);                                                                            
 
// NAME:    Robots/Spiders visitors
// INFO:    Spiders, Robots of Search engines etc.
$BAW_CONF_DIS['robots'] = array(                  
    'show' => true,    // Show this Data?         
    'collapse' => false,    // Collapsed?         
    'order' => '9',    // Item Sequence           
    'avg' => true,    // Show averages?           
    'total' => true,    // Show total Sum?        
    'table' => true,    // Show data table?       
    'top_x' => '10',    // Show how many entries? 
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Robots/Spiders visitors, '1'=Hits, '2'=Hits (robots.txt), 
    // '3'=Bandwidth, '4'=Last visit                                 
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Worms
// INFO:    Worms searching for security holes
$BAW_CONF_DIS['worms'] = array(               
    'show' => true,    // Show this Data?     
    'collapse' => false,    // Collapsed?     
    'order' => '10',    // Item Sequence      
    'avg' => false,    // Show averages?      
    'total' => true,    // Show total Sum?    
    'table' => true,    // Show data table?   
    'top_x' => '10',    // Show how many entries?
    'sort' => '2',    // Sort for which column?  Possible values are:
    // '0'=Worms, '1'=Sensitive targets, '2'=Hits, '3'=Bandwidth, '4'=Last visit
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:         
    // SORT_ASC=Ascending, SORT_DESC=Descending                                 
);                                                                              
 
// NAME:    Visits duration
// INFO:    How long have people been on the site?
$BAW_CONF_DIS['sessions'] = array(                
    'show' => true,    // Show this Data?         
    'collapse' => false,    // Collapsed?         
    'order' => '11',    // Item Sequence          
    'avg' => false,    // Show averages?          
    'total' => false,    // Show total Sum?       
    'table' => true,    // Show data table?       
);                                                
 
// NAME:    File type
// INFO:    What filetypes are on the site
$BAW_CONF_DIS['filetype'] = array(        
    'show' => true,    // Show this Data? 
    'collapse' => false,    // Collapsed? 
    'order' => '12',    // Item Sequence  
    'avg' => false,    // Show averages?  
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'chart' => true,    // Show HTML chart?      
    'sort' => '0',    // Sort for which column?  Possible values are:
    // 'key'=File type, '0'=Hits, '1'=Bandwidth, '2'=Compression on, 
    // '3'=Compression result                                        
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Pages-URL
// INFO:    Pages on the site
$BAW_CONF_DIS['urls'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '13',    // Item Sequence 
    'avg' => true,    // Show averages?  
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Pages-URL, '1'=Viewed, '2'=Average size, '3'=Entry, '4'=Exit
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Files/paths
// INFO:    Files/paths on the site
$BAW_CONF_DIS['paths'] = array(    
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '14',    // Item Sequence 
    'avg' => true,    // Show averages?  
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Files/paths, '1'=Viewed                                   
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Operating Systems
// INFO:    Operating system of users
$BAW_CONF_DIS['os'] = array(         
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '15',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => false,    // Show total Sum?
    'table' => true,    // Show data table?
    'chart' => true,    // Show HTML chart?
    'top_x' => '10',    // Show how many entries?
    'sort' => '2',    // Sort for which column?  Possible values are:
    // '1'=Operating Systems, '2'=Hits                               
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Unknown OS (useragent field)
// INFO:    Unknown Operating system    
$BAW_CONF_DIS['unknownos'] = array(     
    'show' => false,    // Show this Data?
    'collapse' => false,    // Collapsed? 
    'order' => '17',    // Item Sequence  
    'avg' => false,    // Show averages?  
    'total' => false,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '1'=User Agent, '2'=Last visit                                
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Operating Systems (+Versions)
// INFO:    Operating system of users including versions
$BAW_CONF_DIS['osversions'] = array(                    
    'show' => false,    // Show this Data?              
    'collapse' => false,    // Collapsed?               
    'order' => '16',    // Item Sequence                
    'avg' => false,    // Show averages?                
    'total' => false,    // Show total Sum?             
    'table' => true,    // Show data table?             
    'chart' => true,    // Show HTML chart?             
    'top_x' => '10',    // Show how many entries?       
    'sort' => '2',    // Sort for which column?  Possible values are:
    // '1'=Operating Systems, '2'=Hits                               
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Browsers
// INFO:    User Browser Type
$BAW_CONF_DIS['browsers'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '18',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => false,    // Show total Sum?
    'chart' => true,    // Show HTML chart?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '3',    // Sort for which column?  Possible values are:
    // '1'=Browsers, '2'=Grabber, '3'=Hits                           
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Browsers (+Versions)
// INFO:    User Browser Type (+Versions)
$BAW_CONF_DIS['browserversions'] = array(
    'show' => false,    // Show this Data?
    'collapse' => false,    // Collapsed? 
    'order' => '19',    // Item Sequence  
    'avg' => false,    // Show averages?  
    'total' => false,    // Show total Sum?
    'table' => true,    // Show data table?
    'chart' => false,    // Show HTML chart?
    'top_x' => '10',    // Show how many entries?
    'sort' => '4',    // Sort for which column?  Possible values are:
    // '2'=Browsers, '3'=Grabber, '4'=Hits                           
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Unknown browsers (useragent field)
// INFO:    Unknown Browsers                  
$BAW_CONF_DIS['unknownbrowser'] = array(      
    'show' => false,    // Show this Data?    
    'collapse' => false,    // Collapsed?     
    'order' => '20',    // Item Sequence      
    'avg' => false,    // Show averages?      
    'total' => false,    // Show total Sum?   
    'table' => true,    // Show data table?   
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '1'=User Agent, '2'=Last visit                                
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Screen sizes
// INFO:    Screensizes of users
$BAW_CONF_DIS['screensizes'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '21',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => false,    // Show total Sum?
    'table' => true,    // Show data table?
    'chart' => true,    // Show HTML chart?
    'top_x' => '5',    // Show how many entries?
    'sort' => '2',    // Sort for which column?  Possible values are:
    // '1'=Screen sizes, '2'=Hits                                    
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Referring search engines
// INFO:    Referrals from search engines
$BAW_CONF_DIS['se_referers'] = array(    
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '22',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Referring search engines, '1'=Pages, '2'=Hits             
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
    // Django : 2015-01-13                                             
    // default: true                                                   
    'favicon' => false,    // Retrieve favicons for external URLs?     
);                                                                     
 
// NAME:    Referring sites
// INFO:    Referrals from other sites
$BAW_CONF_DIS['referers'] = array(    
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '23',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Referring sites, '1'=Pages, '2'=Hits                      
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
    'favicon' => false,    // Retrieve favicons for external URLs?     
);                                                                     
 
// NAME:    Referring sites by Domains
// INFO:    Referrals from other sites, grouped by 2-nd level domains
$BAW_CONF_DIS['referer_domains'] = array(                            
    'show' => true,    // Show this Data?                            
    'collapse' => false,    // Collapsed?                            
    'order' => '24',    // Item Sequence                             
    'avg' => false,    // Show averages?                             
    'total' => true,    // Show total Sum?                           
    'table' => true,    // Show data table?                          
    'top_x' => '10',    // Show how many entries?                    
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Referring sites, '1'=Pages, '2'=Hits                      
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
    'favicon' => false,    // Retrieve favicons for external URLs?     
    'domain_lvls' => '3',    // Shorten URL to how many domain levels? (-1 to disable)
);                                                                                    
 
// NAME:    Hotlinks
// INFO:    Pages linking to images/data on your site
$BAW_CONF_DIS['hotlinks'] = array(                   
    'show' => true,    // Show this Data?            
    'collapse' => false,    // Collapsed?            
    'order' => '25',    // Item Sequence             
    'avg' => false,    // Show averages?             
    'total' => true,    // Show total Sum?           
    'table' => true,    // Show data table?          
    'top_x' => '10',    // Show how many entries?    
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Referring sites, '1'=Hits                                 
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
    'favicon' => false,    // Retrieve favicons for external URLs?     
);                                                                     
 
// NAME:    Hotlinks by Domains
// INFO:    Domains linking to images/data on your site
$BAW_CONF_DIS['hotlink_domains'] = array(              
    'show' => true,    // Show this Data?              
    'collapse' => false,    // Collapsed?              
    'order' => '26',    // Item Sequence               
    'avg' => false,    // Show averages?               
    'total' => true,    // Show total Sum?             
    'table' => true,    // Show data table?            
    'top_x' => '10',    // Show how many entries?      
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Referring sites, '1'=Hits                                 
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
    'favicon' => false,    // Retrieve favicons for external URLs?     
    'domain_lvls' => '3',    // Shorten URL to how many domain levels? (-1 to disable)
);                                                                                    
 
// NAME:    Search�Keyphrases
// INFO:    Search phrases   
$BAW_CONF_DIS['searchphrases'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '27',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=different keyphrases, '1'=Hits                            
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Search�Keywords
// INFO:    Search words   
$BAW_CONF_DIS['searchwords'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '28',    // Item Sequence 
    'avg' => false,    // Show averages? 
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=different keywords, '1'=Hits                              
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending                        
);                                                                     
 
// NAME:    Miscellaneous
// INFO:    User system features
$BAW_CONF_DIS['misc'] = array(  
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '29',    // Item Sequence
    'table' => true,    // Show data table?
);
 
// NAME:    HTTP Status codes
// INFO:    Acesses to pages that returned errors
$BAW_CONF_DIS['errors'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '30',    // Item Sequence
    'total' => true,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '2',    // Sort for which column?  Possible values are:
    // '0'=HTTP Status codes, '2'=Hits, '3'=Average size
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending
);
 
// NAME:    Error�Hits
// INFO:    Required but not found URLs (HTTP code 404)
$BAW_CONF_DIS['errors404'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '31',    // Item Sequence
    'table' => true,    // Show data table?
    'total' => true,    // Show total Sum?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Error�Hits, '1'=Hits, '2'=Hits
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending
);
 
// NAME:    Color depth
// INFO:    Screen colors of users
$BAW_CONF_DIS['extra_1'] = array(
    'show' => true,    // Show this Data?
    'collapse' => false,    // Collapsed?
    'order' => '32',    // Item Sequence
    'total' => false,    // Show total Sum?
    'table' => true,    // Show data table?
    'top_x' => '10',    // Show how many entries?
    'sort' => '1',    // Sort for which column?  Possible values are:
    // '0'=Color depth in bits, '1'=Hits
    'sort_dir' => SORT_DESC,    // Sort direction? Possible values are:
    // SORT_ASC=Ascending, SORT_DESC=Descending
);
 
 
?>

Für den Zugriff auf unsere Webserver-Statistiken legen wir uns einen virtuellen Host an. Die entsprechende Konfigurationsdatei vhosts.conf haben wir im Verzeichnis /etc/httpd/conf.d angelegt. Mit dem Editor unserer Wahl ergänzen wir nun unsere virtuelen Hosts um einen weiteren:

 # vim /etc/httpd/conf.d/vhosts.conf
/etc/httpd/conf.d/vhosts.conf
#
# betterawstats.nausch.org
#
<VirtualHost *:80>
        ServerAdmin webmaster@nausch.org
        ServerName betterawstats.nausch.org
        ServerAlias www.betterawstats.nausch.org
        ServerPath /
        DocumentRoot "/usr/share/betterawstats"
 
        <Directory "/usr/share/betterawstats">
                AllowOverride None
		#Options +ExecCGI
 		#DirectoryIndex awstats.pl
 		Order deny,allow
		Deny from all
		Allow from 127.0.0.1
                Allow from 10.0.0.0/24
                Allow from 10.0.10.0/26
        </Directory>
 
        Alias /awstatsclasses "/var/www/awstats/classes/"
        Alias /awstatscss "/var/www/awstats/css/"
        Alias /awstatsicons "/var/www/awstats/icon/"
        ScriptAlias /awstats/ "/var/www/awstats/cgi-bin/"  
 
	ErrorLog logs/betterawstats_error.log
	CustomLog logs/betterawstats_access.log combined
</VirtualHost>

Haben wir die Konfigurationsdatei vervollständigt, prüfen wir diese noch auf syntaktische Fehler.

 # apachectl -t
 Syntax OK

Ein reload unseres Apache Webserver reicht nun aus, um den neunen vHOST verfügbar zu haben.

 # systemctl reload httpd

Wie auch schon bei der Installation und Konfiguration von AWstats ist die Konfiguration unseres NGiNX Webservers nicht sonderlich schwer.

Im Konfigurationsverzeichnis /etc/nginx/conf.d legen wir uns für unseren vHOST eine passende Konfigurationsdatei an.

 # vim /etc/nginx/conf.d/betterawstats.conf
/etc/nginx/conf.d/betterawstats.conf
server {
        listen          80;
        server_name     betterawstats.nausch.org;
        access_log      /var/log/nginx/betterawstats_access.log;
        error_log       /var/log/nginx/betterawstats_errors.log;
 
        root /usr/share/betterawstats/;
        index index.php index.html;
 
       location ~ \.php {
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                include fastcgi_params;
        }
 
        location ~* ^/(.+\.(gif|jp?eg|png|css|js|cgi|pl|ico|swf|flv|s?html|php|xap|py|xml|txt))$ {
                expires 1y;
                root /usr/share/betterawstats;
                allow all;
        }
 
        location ~ icons {
                allow all;
        }
}

Die Konfigurationsdatei für php-fpm, unseren PHP-Parser hat folgenden Inhalt.

 # vim /etc/nginx/fastcgi_params
/etc/nginx/fastcgi_params
fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE       $content_type;
fastcgi_param  CONTENT_LENGTH     $content_length;
 
fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
fastcgi_param  REQUEST_URI        $request_uri;
fastcgi_param  DOCUMENT_URI       $document_uri;
fastcgi_param  DOCUMENT_ROOT      $document_root;
fastcgi_param  SERVER_PROTOCOL    $server_protocol;
fastcgi_param  HTTPS              $https if_not_empty;
 
fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
fastcgi_param  SERVER_SOFTWARE    nginx;
 
fastcgi_param  REMOTE_ADDR        $remote_addr;
fastcgi_param  REMOTE_PORT        $remote_port;
fastcgi_param  SERVER_ADDR        $server_addr;
fastcgi_param  SERVER_PORT        $server_port;
fastcgi_param  SERVER_NAME        $server_name;
 
fastcgi_param X_SCRIPT_NAME       $fastcgi_script_name;
 
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param  REDIRECT_STATUS    200;
 
# Vhosts fastcgi config
fastcgi_pass   127.0.0.1:9000;

Nach erfolgreicher Konfiguration steht dem ersten Aufruf nichts mehr im Wege. Der Aufruf erfolgt bei dem hier gezeigtem Konfigurationsbeispiel über folgende URL:

 $ firefox http://betterawstats.nausch.org

Bild: Bildschirmhardcopy von BetterAWStats

Mit Hilfe der objektorientiereten Graphikbibliothek JpGraph, die speziell für PHP entwickelt wurde, optimieren wir nun noch unsere BetterAWStatsinstallation.

Hierzu laden wir uns von der Downloadseite des Projekts die aktuelle Version 3.x auf unseren Server. Anschließend entpacken wir das Archiv direkt in unserem lokalen BetterAWStats-Installationsverzeichnis.

 # tar xzfv jpgraph-3.5.0b1.tar.gz -C /usr/share/betterawstats/

Bevor wir uns nun an die Anpassung unserer Konfiguration machen, passen wir kurz noch die Verzeichnis und Dateirechte an.

 # chown apache.apache /usr/share/betterawstats/jpgraph-3.5.0b1/ -R

Abschließend ergänzen wir noch die Konfigurationsdatei von BetterAWStats.

 # vim /usr/share/betterawstats/config.php
...
 
//*********************************************************/
//*          JPGRAPH SETTINGS
//*********************************************************/
 
// NAME:    Enable JPgraph?
// INFO:    To use JPGraph, you have to download it from
//          http://www.aditus.nu/jpgraph/jpdownload.php.
// DEFAULT: true
// POSSIBLE VALUES: true, false
// Django : 2013-12-29
// default: 
//$BAW_CONF['use_jpgraph'] = false;
$BAW_CONF['use_jpgraph'] = true;
 
// NAME:    Path to JPGraph
// INFO:    Where is your JPGraph installation? (The folder where jpgraph.php is
//          in. No trailing slash)
// DEFAULT: '/path/to/betterawstats/jpgraph/src'
// Django : 2013-12-29
// default: $BAW_CONF['jpgraph_path'] = '/path/to/betterawstats/jpgraph/src';
$BAW_CONF['jpgraph_path'] = '/usr/share/betterawstats/jpgraph-3.5.0b1/src';
 
...

Einen ganz anderen Ansatz, nämlich nicht das Auswerten der Serverlogs, sondern das Sammeln von Informationen über den Client, geht Piwik. Ähnlich wie bei Google Analytics werden Informationen zum Besuch unserer Seiten gewonnen. Diese Daten werden jedoch nicht an Dritte, in dem Falle Google, weitergegeben - die ev. dann sonst was damit veranstalten - sondern auf unserem eigenen Server abgespeichert.

Eine ausführliche (Installations-)Beschreibung zu Piwik findet man hier.

Links

Diese Website verwendet Cookies. Durch die Nutzung der Website stimmen Sie dem Speichern von Cookies auf Ihrem Computer zu. Außerdem bestätigen Sie, dass Sie unsere Datenschutzbestimmungen gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website.Weitere Information
  • centos/web_c7/webstats.txt
  • Zuletzt geändert: 22.07.2019 14:59.
  • von 127.0.0.1