Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
centos:awstats_c6 [03.07.2012 20:55. ] – [AddOn-Konfiguration (plugins)] django | centos:awstats_c6 [22.07.2019 14:57. ] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Logfileanalyse und -Auswertung mit (Better-)AWStats unter CentOS 6.x ====== | ||
+ | Zum Auswerten unserer Logfiles, wie z.B. [[centos: | ||
+ | < | ||
+ | Name : awstats | ||
+ | ... | ||
+ | Summary: Powerful and fullfeatured server logfile analyzer | ||
+ | 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/ | ||
+ | Apache, IIS, Weblogic, Webstar, Squid, ... but also mail or ftp servers. | ||
+ | |||
+ | This program can measure visits, unique vistors, authenticated users, pages, | ||
+ | domains/ | ||
+ | engines/ | ||
+ | Statistics can be updated from a browser or your scheduler. | ||
+ | The program also supports virtual servers, plugins and a lot of features.</ | ||
+ | |||
+ | 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. | ||
+ | |||
+ | ==== Voraussetzungen ==== | ||
+ | Damit [[http:// | ||
+ | - Es steht ein lauffähiger [[centos: | ||
+ | - und ferner steht im System die Script-Sprache [[http:// | ||
+ | - 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 | ||
+ | |||
+ | ===== Die Pflicht - AWStats (RPM-Installation) ===== | ||
+ | Die Installation des Paketes **awstats** nehmen wir - wie soll es anders sein - mittels **YUM** vor. | ||
+ | # yum install awstats -y | ||
+ | |||
+ | Ein Blick in das **RPM** zeigt uns wie immer, welche Dateien und Verzeichnisse bei der Installation des Paketes ins System gebracht wurden. | ||
+ | # rpm -qil awstats | ||
+ | < | ||
+ | Version | ||
+ | Release | ||
+ | Install Date: Tue 03 Jul 2012 05:53:38 PM CEST Build Host: lisse.hasselt.wieers.com | ||
+ | Group : Applications/ | ||
+ | Size : 3372221 | ||
+ | Signature | ||
+ | Packager | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | 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/ | ||
+ | Apache, IIS, Weblogic, Webstar, Squid, ... but also mail or ftp servers. | ||
+ | |||
+ | This program can measure visits, unique vistors, authenticated users, pages, | ||
+ | domains/ | ||
+ | engines/ | ||
+ | Statistics can be updated from a browser or your scheduler. | ||
+ | The program also supports virtual servers, plugins and a lot of features. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Cronjob für Statistikaufbereitung ==== | ||
+ | Wie Eingangs schon erwähnt, besteht AWStats im Grunde aus zwei Teilen, der Statistikaufberreitung - sozusagen das **backend** und dem zweiten Teil der Darstellung und Präsentation durch den Webserver, das **frontend**. | ||
+ | |||
+ | Damit das backend nun regelmäßig die Webserver-Logfiles zusammenfasst und die AWStats-Files erstellen kann, benötigen wir ein passendes Script. Dieses Script wurde uns bereits bei der Installation von AWStats mitgeliefert. | ||
+ | # / | ||
+ | <file bash / | ||
+ | #!/bin/bash | ||
+ | |||
+ | if [ -f / | ||
+ | exec / | ||
+ | fi | ||
+ | exit 0 | ||
+ | </ | ||
+ | |||
+ | ==== Logrotate ==== | ||
+ | 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 // | ||
+ | |||
+ | Hierzu tragen wir nachfolgende Zeilen in die zentrale " | ||
+ | |||
+ | <code bash> | ||
+ | / | ||
+ | endscrip | ||
+ | </ | ||
+ | |||
+ | # vim / | ||
+ | <file bash / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | { | ||
+ | sharedscripts | ||
+ | prerotate | ||
+ | / | ||
+ | endscrip | ||
+ | postrotate | ||
+ | /bin/kill -HUP `cat / | ||
+ | endscript | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Konfiguration des Apache vHosts ==== | ||
+ | Für den Zugriff auf unsere Webserver-Statistiken legen wir uns einen virtuellen Host an. Die entsprechende Konfigurationsdatei **vhosts.conf** haben wir im Verzeichnis **/ | ||
+ | |||
+ | Mit dem Editor unserer Wahl ergänzen wir nun unsere virtuelen Hosts um einen weiteren: | ||
+ | # vim / | ||
+ | |||
+ | <file apache / | ||
+ | # | ||
+ | # aw-stats.nausch.org | ||
+ | # | ||
+ | < | ||
+ | ServerAdmin webmaster@nausch.org | ||
+ | ServerName aw-stats.nausch.org | ||
+ | ServerAlias www.aw-stats.nausch.org | ||
+ | ServerPath / | ||
+ | DocumentRoot "/ | ||
+ | < | ||
+ | AllowOverride None | ||
+ | Options +ExecCGI | ||
+ | | ||
+ | | ||
+ | Deny from all | ||
+ | Allow from 127.0.0.1 | ||
+ | Allow from 10.0.0.0/24 | ||
+ | Allow from 10.0.10.0/ | ||
+ | </ | ||
+ | |||
+ | Alias / | ||
+ | Alias /awstatscss "/ | ||
+ | Alias / | ||
+ | ScriptAlias /awstats/ "/ | ||
+ | |||
+ | ErrorLog logs/ | ||
+ | CustomLog logs/ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Bevor wir unsere Konfigurationsänderung scharf schalten, überprüfen wir noch kurzer Hand die Änderungen auf syntaktische Fehler. | ||
+ | # service httpd configtest | ||
+ | |||
+ | Ist alles O.K.starten wir unseren Webserver durch, damit unsere Änderungen auch wirksam werden: | ||
+ | # | ||
+ | ==== Konfiguration der ersten Webseite ==== | ||
+ | Für die Auswertung unserer ersten Webseite, legen wir uns eine entsprechende Konfigurationsdatei an. Hierzu kopieren wir einfach die Vorlage-Datei. | ||
+ | # cp / | ||
+ | |||
+ | Mit dem Editor unserer Wahl passen wir nun die Parameter unseren Gegebenheiten nach an. | ||
+ | # vim / | ||
+ | <file bash / | ||
+ | # | ||
+ | # 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 / | ||
+ | # Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/ | ||
+ | # To include an environment variable in any parameter (AWStats will replace | ||
+ | # it with its value when reading it), follow the example: | ||
+ | # Parameter=" | ||
+ | # 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. | ||
+ | # | ||
+ | # $Revision: 1.350 $ - $Author: eldy $ - $Date: 2010/09/29 19:16:21 $ | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # MAIN SETUP SECTION (Required to make AWStats work) | ||
+ | # | ||
+ | |||
+ | # " | ||
+ | # Possible values: A full path, or a relative path from awstats.pl directory. | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # 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 : | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # use n=24 if you need (1-7, 1=monday) | ||
+ | # | ||
+ | # use n=24 if you need (0-6, 0=monday) | ||
+ | # Use 0 for n if you need current year, month, day, hour... | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # You can also use a pipe if log file come from a pipe : | ||
+ | # Example: "gzip -d </ | ||
+ | # If there are several log files from load balancing servers : | ||
+ | # Example: "/ | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: LogFile="/ | ||
+ | LogFile="/ | ||
+ | |||
+ | |||
+ | # 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 " | ||
+ | # 1 - Apache or Lotus Notes/ | ||
+ | # 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, | ||
+ | # " | ||
+ | # you must use following keys to define the log format string (See FAQ for | ||
+ | # ftp, mail or exotic web log format examples): | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # will discard records not in SiteDomain nor HostAliases | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # If your log format has some fields not included in this list, use: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # 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 | ||
+ | |||
+ | |||
+ | # If your log field' | ||
+ | # This parameter is not used if LogFormat is a predefined value (1,2,3,4) | ||
+ | # Backslash can be used as escape character. | ||
+ | # Example: " " | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # Example: "," | ||
+ | # Default: " " | ||
+ | # | ||
+ | LogSeparator=" | ||
+ | |||
+ | |||
+ | # " | ||
+ | # 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: " | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default SiteDomain=" | ||
+ | SiteDomain=" | ||
+ | |||
+ | |||
+ | # 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/ | ||
+ | # You can repeat the " | ||
+ | # 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 @/ | ||
+ | # Example: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: | ||
+ | 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 ' | ||
+ | # 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 " | ||
+ | # you want AWStats to save its database and working files into. | ||
+ | # Warning: If you want to be able to use the " | ||
+ | # feature (see later), you need " | ||
+ | # directory (and " | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # Default: " | ||
+ | # | ||
+ | DirData="/ | ||
+ | |||
+ | |||
+ | # 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: "/ | ||
+ | # Default: "/ | ||
+ | # | ||
+ | DirCgi="/ | ||
+ | |||
+ | |||
+ | # Relative or absolute web URL of your awstats icon directory. | ||
+ | # If you build static reports ("... -output > outputpath/ | ||
+ | # path of icon directory relative to the output directory ' | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # Default: "/ | ||
+ | # | ||
+ | DirIcons="/ | ||
+ | |||
+ | |||
+ | # When this parameter is set to 1, AWStats adds a button on report page to | ||
+ | # allow to " | ||
+ | # made from a browser, AWStats is run as a CGI by the web server user defined | ||
+ | # in your web server (user " | ||
+ | # IIS), so the " | ||
+ | # awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if | ||
+ | # necessary to " | ||
+ | # 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 | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: AllowToUpdateStatsFromBrowser=0 | ||
+ | AllowToUpdateStatsFromBrowser=1 | ||
+ | |||
+ | |||
+ | # 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 ' | ||
+ | # 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 | ||
+ | # | ||
+ | AllowFullYearView=2 | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # 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 ' | ||
+ | # or just ' | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: "/ | ||
+ | # Default: " | ||
+ | # | ||
+ | DNSStaticCacheFile=" | ||
+ | |||
+ | |||
+ | # 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: "/ | ||
+ | # Default: " | ||
+ | # | ||
+ | DNSLastUpdateCacheFile=" | ||
+ | |||
+ | |||
+ | # 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: " | ||
+ | # 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 " | ||
+ | # 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/ | ||
+ | # AllowAccessFromWebToAuthenticatedUsersOnly is set to 1. | ||
+ | # Change : Effective immediatly | ||
+ | # Example: "user1 user2" | ||
+ | # Example: " | ||
+ | # 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: " | ||
+ | # Default: "" | ||
+ | # | ||
+ | AllowAccessFromWebToFollowingIPAddresses="" | ||
+ | |||
+ | |||
+ | # If the " | ||
+ | # 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="/ | ||
+ | # 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 " | ||
+ | # larger than using " | ||
+ | # 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 ' | ||
+ | # 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/ | ||
+ | # 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' | ||
+ | # 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 " | ||
+ | # 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 ' | ||
+ | # 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 " | ||
+ | # Change : Effective for new updates only | ||
+ | # Possible values: 0 or 1 | ||
+ | # Default: 0 | ||
+ | # | ||
+ | KeepBackupOfHistoricFiles=1 | ||
+ | |||
+ | |||
+ | # Default index page name for your web server. | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: " | ||
+ | # Default: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: DefaultFile=" | ||
+ | DefaultFile=" | ||
+ | |||
+ | |||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # Example: " | ||
+ | # Default: "" | ||
+ | # | ||
+ | SkipHosts=" | ||
+ | |||
+ | |||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # 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 / | ||
+ | # pages in a particular directory, add " | ||
+ | # The opposite parameter of " | ||
+ | # 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: "/ | ||
+ | # 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/ | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: "/ | ||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # Default: "" | ||
+ | # | ||
+ | OnlyFiles="" | ||
+ | |||
+ | |||
+ | # Add here a list of kind of url (file extension) that must be counted as | ||
+ | # "Hit only" and not as a " | ||
+ | # 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=" | ||
+ | |||
+ | |||
+ | # 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 ' | ||
+ | # 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=" | ||
+ | |||
+ | |||
+ | # 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=" | ||
+ | |||
+ | |||
+ | # 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, "?" | ||
+ | # / | ||
+ | # However, some servers/ | ||
+ | # 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? | ||
+ | # 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: "/ | ||
+ | # 1 - Full URL with query string is used (ie: "/ | ||
+ | # 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 " | ||
+ | # / | ||
+ | # will be reported as 2 hits on / | ||
+ | # This parameter is not used when URLWithQuery is 0 and can't be used with | ||
+ | # URLWithQueryWithoutFollowingParameters. | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: " | ||
+ | # 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 " | ||
+ | # / | ||
+ | # will be reported as 2 hits on / | ||
+ | # This parameter is not used when URLWithQuery is 0 and can't be used with | ||
+ | # URLWithQueryWithOnlyFollowingParameters. | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: " | ||
+ | # 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? | ||
+ | # 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: "/ | ||
+ | # 1 - Full URL with query string is used (ie: "/ | ||
+ | # 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: " | ||
+ | # Example: " | ||
+ | # 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 </ | ||
+ | # | ||
+ | # <script type=" | ||
+ | # < | ||
+ | # | ||
+ | # 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: "/ | ||
+ | # | ||
+ | MiscTrackerUrl="/ | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # 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/ | ||
+ | # 2 = Full detection | ||
+ | # Change : Effective for new updates only | ||
+ | # Note : LevelForBrowsersDetection can also accept value " | ||
+ | # enable detailed detection of phone/pda browsers. | ||
+ | # Default: 2 (0 for LevelForWormsDetection) | ||
+ | # | ||
+ | LevelForBrowsersDetection=2 | ||
+ | # 2 reduces AWStats speed by 2% | ||
+ | # allphones reduces AWStats speed by 5% | ||
+ | LevelForOSDetection=2 | ||
+ | # 2 reduces AWStats speed by 3% | ||
+ | LevelForRefererAnalyze=2 | ||
+ | # 2 reduces AWStats speed by 14% | ||
+ | LevelForRobotsDetection=2 | ||
+ | # 2 reduces AWStats speed by 2.5% | ||
+ | LevelForSearchEnginesDetection=2 | ||
+ | # 2 reduces AWStats speed by 9% | ||
+ | LevelForKeywordsDetection=2 | ||
+ | # 2 reduces AWStats speed by 1% | ||
+ | LevelForFileTypesDetection=2 | ||
+ | # 2 reduces AWStats speed by 1% | ||
+ | LevelForWormsDetection=0 | ||
+ | # 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, | ||
+ | # Chinese (Taiwan)=tw, | ||
+ | # Danish=dk, Dutch=nl, English=en, Estonian=et, | ||
+ | # French=fr, Galician=gl, | ||
+ | # Icelandic=is, | ||
+ | # Latvian=lv, Norwegian (Nynorsk)=nn, | ||
+ | # Portuguese=pt, | ||
+ | # Serbian=sr, Slovak=sk, Slovenian=si, | ||
+ | # Ukrainian=ua, | ||
+ | # First available language accepted by browser=auto | ||
+ | # Default: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: Lang=" | ||
+ | Lang=" | ||
+ | |||
+ | |||
+ | # Set the location of language files. | ||
+ | # Example: "/ | ||
+ | # Default: " | ||
+ | # | ||
+ | DirLang=" | ||
+ | |||
+ | |||
+ | # Show menu header with reports' | ||
+ | # 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... | ||
+ | # | ||
+ | # 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, | ||
+ | # 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/ | ||
+ | # Context: Web, Streaming, Mail, Ftp | ||
+ | # Default: PHB, Possible column codes: PHB | ||
+ | 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), | ||
+ | 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), | ||
+ | # Django : 2012-07-04 | ||
+ | # 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/ | ||
+ | MaxNbOfDomain = 10 | ||
+ | MinHitDomain | ||
+ | # Stats by hosts | ||
+ | MaxNbOfHostsShown = 10 | ||
+ | MinHitHost | ||
+ | # Stats by authenticated users | ||
+ | MaxNbOfLoginShown = 10 | ||
+ | MinHitLogin | ||
+ | # Stats by robots | ||
+ | MaxNbOfRobotShown = 10 | ||
+ | MinHitRobot | ||
+ | # Stats for Downloads | ||
+ | MaxNbOfDownloadsShown = 10 | ||
+ | MinHitDownloads = 1 | ||
+ | # Stats by pages | ||
+ | MaxNbOfPageShown = 10 | ||
+ | MinHitFile | ||
+ | # Stats by OS | ||
+ | MaxNbOfOsShown = 10 | ||
+ | MinHitOs | ||
+ | # 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 | ||
+ | # Stats for keyphrases | ||
+ | MaxNbOfKeyphrasesShown = 10 | ||
+ | MinHitKeyphrase = 1 | ||
+ | # Stats for keywords | ||
+ | MaxNbOfKeywordsShown = 10 | ||
+ | MinHitKeyword = 1 | ||
+ | # Stats for sender or receiver emails | ||
+ | MaxNbOfEMailsShown = 20 | ||
+ | MinHitEMail | ||
+ | |||
+ | |||
+ | # 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 | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: FirstDayOfWeek=0 | ||
+ | FirstDayOfWeek=1 | ||
+ | |||
+ | |||
+ | # List of visible flags that link to other language translations. | ||
+ | # See Lang parameter for list of allowed flag/ | ||
+ | # 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: "" | ||
+ | # 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 " | ||
+ | # 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: "/ | ||
+ | # 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, | ||
+ | # 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/ | ||
+ | # LogoLink is the expected URL when clicking on Logo. | ||
+ | # Default: " | ||
+ | # | ||
+ | Logo=" | ||
+ | LogoLink=" | ||
+ | |||
+ | |||
+ | # Value of maximum bar width/ | ||
+ | # Default: 260/90 | ||
+ | # | ||
+ | BarWidth | ||
+ | BarHeight | ||
+ | |||
+ | |||
+ | # 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: "/ | ||
+ | # Example: "/ | ||
+ | # Default: "" | ||
+ | # | ||
+ | StyleSheet="" | ||
+ | |||
+ | |||
+ | # Those color parameters can be used (if StyleSheet parameter is not used) | ||
+ | # to change AWStats look. | ||
+ | # Example: color_name=" | ||
+ | # | ||
+ | color_Background=" | ||
+ | color_TableBGTitle=" | ||
+ | color_TableTitle=" | ||
+ | color_TableBG=" | ||
+ | color_TableRowTitle=" | ||
+ | color_TableBGRowTitle=" | ||
+ | color_TableBorder=" | ||
+ | color_text=" | ||
+ | color_textpercent=" | ||
+ | color_titletext=" | ||
+ | color_weekend=" | ||
+ | color_link=" | ||
+ | color_hover=" | ||
+ | color_u=" | ||
+ | color_v=" | ||
+ | color_p=" | ||
+ | color_h=" | ||
+ | color_k=" | ||
+ | color_s=" | ||
+ | color_e=" | ||
+ | color_x=" | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # PLUGINS | ||
+ | # | ||
+ | |||
+ | # Add here all plugin files you want to load. | ||
+ | # Plugin files must be .pm files stored in ' | ||
+ | # 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: | ||
+ | # NOTE: This will increased HTML report pages size, thus server load and bandwidth. | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: DecodeUTFKeys | ||
+ | # REQUIRED MODULES: Encode and URI::Escape | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # keywords/ | ||
+ | # referer search engine. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: IPv6 | ||
+ | # PARAMETERS: None | ||
+ | # REQUIRED MODULES: Net::IP and Net::DNS | ||
+ | # DESCRIPTION: | ||
+ | # lookup on IPv6 addresses. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: HashFiles | ||
+ | # REQUIRED MODULES: Storable | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # This increases DNS cache files loading speed, above all for very large web sites. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | # PLUGIN: UserInfo | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # authenticated user reports for each login value. | ||
+ | # A text file called userinfo.myconfig.txt, | ||
+ | # second is text to show, separated by a tab char) must be created in DirData | ||
+ | # directory. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: HostInfo | ||
+ | # REQUIRED MODULES: Net::XWhois | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # info on host (like whois records). | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: ClusterInfo | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # number. A text file called clusterinfo.myconfig.txt, | ||
+ | # 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. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: UrlAliases | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # A text file called urlalias.myconfig.txt, | ||
+ | # second is text to show, separated by a tab char) must be created into | ||
+ | # DirData directory. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: TimeHiRes | ||
+ | # REQUIRED MODULES: Time::HiRes (if Perl < 5.8) | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: TimeZone | ||
+ | # REQUIRED MODULES: Time::Local | ||
+ | # PARAMETERS: [timezone offset] | ||
+ | # DESCRIPTION: | ||
+ | # This plugin reduces AWStats speed of 10% !!!!!!! | ||
+ | # LoadPlugin=" | ||
+ | # LoadPlugin=" | ||
+ | # LoadPlugin=" | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: Rawlog | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # content of current log files. A filter is also available. | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GraphApplet | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: [CSS classes to override] | ||
+ | # DESCRIPTION: | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GraphGoogleChartAPI | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # 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. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIPfree | ||
+ | # REQUIRED MODULES: Geo::IPfree version 0.2+ (from Graciliano M.P.) | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # 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% ! | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # MAXMIND GEO IP MODULES: Please see documentation for notes on all Maxmind modules | ||
+ | |||
+ | # PLUGIN: GeoIP | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # table with country name | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GeoIP_City_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # and hits by city including regions. | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GeoIP_ASN_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # 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 " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIP_Region_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # Canada can be detected. | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIP_ISP_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIP_Org_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | # | ||
+ | # 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 | ||
+ | # | ||
+ | # and a regex to match, after a coma. Use " | ||
+ | # ExtraSectionFirstColumnTitleX is the first column title of the chart. | ||
+ | # ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to | ||
+ | # | ||
+ | # | ||
+ | # 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 " | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | # 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 "" | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== AddOn-Konfiguration (plugins) ==== | ||
+ | === Allow To Update Stats From Browser === | ||
+ | Wenn wir später die Statistiken auch mittels Mausklick im Browser aktualisieren wollen müssen wir dafür sorgen, dass unser Webserver auch in das betreffende Verzeichnis schreiben darf. | ||
+ | |||
+ | Wir passen hierzu die Berechtigungen unseres Document-Root an. | ||
+ | # chown apache: | ||
+ | |||
+ | In der Konfigurationsdatei von **awstats** aktivieren wir dann noch diese Option. | ||
+ | |||
+ | <code bash># When this parameter is set to 1, AWStats adds a button on report page to | ||
+ | # allow to " | ||
+ | # made from a browser, AWStats is run as a CGI by the web server user defined | ||
+ | # in your web server (user " | ||
+ | # IIS), so the " | ||
+ | # awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if | ||
+ | # necessary to " | ||
+ | # 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 | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: AllowToUpdateStatsFromBrowser=0 | ||
+ | AllowToUpdateStatsFromBrowser=1 | ||
+ | </ | ||
+ | === HostInfo === | ||
+ | Wir können uns auf unseren Statistik-Seiten bei den Hostinformationen eine Spalte **Whois Informationen** anzeigen lassen, wo wir dann über ein popup-Fenster direkt eine **whois-Abfrage** vornehmen können. | ||
+ | Hierzu muss das Perl-Modul **// | ||
+ | # yum install perl-Net-XWhois | ||
+ | |||
+ | In der betreffenden Hostkonfigurationsdatei von **awstats** aktivieren wir dann nur noch das notwendige plugin. | ||
+ | <code bash> | ||
+ | # PLUGIN: HostInfo | ||
+ | # REQUIRED MODULES: Net::XWhois | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # info on host (like whois records). | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | </ | ||
+ | |||
+ | === GeoIP === | ||
+ | Auf unseren Statistikseiten können wir uns anzeigen lassen aus welchen Ländern und Orten die Anfragen/ | ||
+ | Hierzu wird neben dem Perl-Modul // | ||
+ | |||
+ | Bei der Grundinstallation von [[centos: | ||
+ | # rpm -qil perl-Geo-IP | ||
+ | < | ||
+ | Version | ||
+ | Release | ||
+ | Install Date: Tue 03 Jul 2012 05:53:34 PM CEST Build Host: lisse.hasselt.wieers.com | ||
+ | Group : Applications/ | ||
+ | Size : 370904 | ||
+ | Signature | ||
+ | Packager | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | This module a simple file-based database. | ||
+ | IP blocks as keys, and countries as values. | ||
+ | public IP addresses and should be more | ||
+ | complete and accurate than reverse DNS lookups. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Die benötigten Datenbanken holen wir uns direkt bei [[http:// | ||
+ | # cd / | ||
+ | |||
+ | Anschließend laden wir uns das **GeoIP** Datenbank auf unseren Rechner. | ||
+ | # wget http:// | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | Auch diese entpacken wir nun noch. | ||
+ | # gunzip GeoLiteCity.dat.gz | ||
+ | |||
+ | In der betreffenden Hostkonfigurationsdatei von **awstats** aktivieren wir dann noch die beiden plugins. | ||
+ | <code bash> | ||
+ | # MAXMIND GEO IP MODULES: Please see documentation for notes on all Maxmind modules | ||
+ | |||
+ | # PLUGIN: GeoIP | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # table with country name | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GeoIP_City_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # and hits by city including regions. | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | </ | ||
+ | |||
+ | <WRAP round important> | ||
+ | |||
+ | 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 / | ||
+ | <file bash # vim / | ||
+ | # | ||
+ | # Django : 2014-06-30 | ||
+ | # Monatlicher Update der geoIP-Daten | ||
+ | # | ||
+ | |||
+ | # Programmlauf des monatlich laufenden cronjobs verzögern. | ||
+ | /bin/sleep $[$RANDOM/ | ||
+ | |||
+ | # Update GeoIP: | ||
+ | / | ||
+ | |||
+ | # Update GeoIP-City: | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Anschließend passen wir noch die Dateirechte unseres Scriptes an. | ||
+ | # chmod +x / | ||
+ | |||
+ | ==== erstes Ergebnis ==== | ||
+ | Nach erfolgreicher Konfiguration steht dem ersten Aufruf nichts mehr im Wege. Der Aufruf erfolgt über folgende URL: | ||
+ | |||
+ | $ firefox http:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | <WRAP round tip> | ||
+ | |||
+ | Der Teil nach // | ||
+ | |||
+ | Also z.B. < | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Die Pflicht - AWStats (" | ||
+ | |||
+ | <WRAP round important> | ||
+ | |||
+ | Möchte man die aktuellste Version von [[http:// | ||
+ | |||
+ | </ | ||
+ | ==== Download ==== | ||
+ | Bevor wir nun das 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 / | ||
+ | |||
+ | Anschließend wechseln wir in unser Verzeichnis: | ||
+ | # cd / | ||
+ | |||
+ | Nun laden wir das Programmarchiv von der [[http:// | ||
+ | # wget http:// | ||
+ | |||
+ | Dieses // | ||
+ | # tar -xzvf / | ||
+ | < | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | awstats-7.2/ | ||
+ | </ | ||
+ | |||
+ | ==== Installation ==== | ||
+ | Wertvolle Hinweise für die weitere Installation finden wir in der Datei **README.TXT**. | ||
+ | # less / | ||
+ | <file txt / | ||
+ | Advanced Web Statistics | ||
+ | ------------------------------------ | ||
+ | |||
+ | AWStats (Advanced Web Statistics) is a powerful, full-featured web server | ||
+ | logfile analyzer which shows you all your Web statistics including: visitors, | ||
+ | pages, hits, hours, search engines, keywords used to find your site, broken | ||
+ | links, robots and many more... | ||
+ | |||
+ | It works with IIS 5.0+, Apache and all major web, wap, proxy, streaming | ||
+ | server log files (and even ftp servers or mail logs) on all Operating Systems. | ||
+ | |||
+ | License: GNU GPL v3+ (GNU General Public License. See LICENSE file), | ||
+ | OSI Certified Open Source Software license. | ||
+ | Version: 7.2 | ||
+ | Release date: June 2013 | ||
+ | Platforms: All (Linux, NT, BSD, Solaris and other *NIX' | ||
+ | Author: Laurent Destailleur < | ||
+ | AWStats official web site and latest version: http:// | ||
+ | |||
+ | I - Features and requirements of AWStats | ||
+ | I - 1) Features, what AWStats can show you | ||
+ | I - 2) Requirements for using AWStats | ||
+ | I - 3) Files | ||
+ | II - Install, Setup and Use AWStats | ||
+ | III - Benchmark | ||
+ | IV - About the author, license and support | ||
+ | |||
+ | |||
+ | |||
+ | I - FEATURES AND REQUIREMENTS | ||
+ | ------------------------------------ | ||
+ | |||
+ | I - 1) Features | ||
+ | |||
+ | A full log analysis enables AWStats to show you the following information: | ||
+ | * Number of VISITS and UNIQUE VISITORS | ||
+ | * Visits duration and last visits | ||
+ | * Authenticated users, and last authenticated visits | ||
+ | * Days of week and rush hours (pages, hits, KB for each day and hour) | ||
+ | * Domains/ | ||
+ | * Hosts list, last visits and unresolved IP addresses list | ||
+ | * Most viewed, entry and exit pages | ||
+ | * File types | ||
+ | * Web compression statistics (for mod_gzip or mod_deflate) | ||
+ | * Browsers used (pages, hits, kb for each browser) | ||
+ | * OS used (pages, hits, KB for each OS) | ||
+ | * Robot visits | ||
+ | * Worm attacks | ||
+ | * Download and continuation detection | ||
+ | * Search engines, keyphrases and keywords used to find your site | ||
+ | * HTTP errors (Page not found with last referer, etc,) | ||
+ | * Screen size report | ||
+ | * Number of times your site is "added to favourites bookmarks" | ||
+ | * Ratio of Browsers that support: Java, Flash, RealG2 reader, | ||
+ | Quicktime reader, WMA reader, PDF reader | ||
+ | * Cluster report for load balanced servers ratio | ||
+ | * Other personalized reports... | ||
+ | |||
+ | It supports the following features as well: | ||
+ | * Can analyze all log formats | ||
+ | * Works from command line and from a browser as a CGI (with dynamic | ||
+ | filters capabilities for some charts) | ||
+ | * Update of statistics can be made on demand from the web interface and | ||
+ | not only from your scheduler | ||
+ | * Unlimited log file size, support split log files (load balancing system) | ||
+ | * Support ' | ||
+ | * Reverse DNS lookup before or during analysis, supports DNS cache files | ||
+ | * Country detection from IP location or domain name | ||
+ | * WhoIS links | ||
+ | * A lot of options/ | ||
+ | * Multi-named web sites supported (virtual servers) | ||
+ | * Cross Site Scripting Attacks protection | ||
+ | * Several languages | ||
+ | * No need of rare perl libraries | ||
+ | * Dynamic reports as CGI output | ||
+ | * Static reports in one or framed HTML or XHTML pages | ||
+ | * Experimental PDF export | ||
+ | * Look and colors can match your site design (CSS) | ||
+ | * Help and tooltips on HTML reported pages | ||
+ | * Easy to use (Just one configuration file to edit) | ||
+ | * Analysis database can be stored in XML format (for XSLT processing, ...) | ||
+ | * A Webmin module | ||
+ | * Free (GNU GPL) with sources (perl scripts) | ||
+ | * Available on all platforms | ||
+ | |||
+ | |||
+ | I - 2) Requirements | ||
+ | |||
+ | To use AWStats CGI script, you need the following requirements: | ||
+ | * Your server must log web access in a log file you can read. | ||
+ | * To run awstats, from command line, your operating system must be able | ||
+ | to run perl scripts (.pl files). | ||
+ | * Perl module " | ||
+ | | ||
+ | To run awstats as a CGI (for real-time | ||
+ | statistics), | ||
+ | If not, you can solve this by downloading last Perl version at: | ||
+ | http:// | ||
+ | http:// | ||
+ | |||
+ | |||
+ | I - 3) Files | ||
+ | |||
+ | The distribution of AWStats package includes the following files: | ||
+ | README.TXT | ||
+ | docs/ | ||
+ | docs/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | wwwroot/ | ||
+ | tools/ | ||
+ | tools/ | ||
+ | tools/ | ||
+ | tools/ | ||
+ | |||
+ | |||
+ | |||
+ | II - INSTALL, SETUP AND USE AWSTATS | ||
+ | ----------------------------------- | ||
+ | |||
+ | The documentation available for this release in HTML format is | ||
+ | in the docs/ directory. | ||
+ | |||
+ | You can find a most up-to-date documentation at: | ||
+ | http:// | ||
+ | |||
+ | |||
+ | |||
+ | III - BENCHMARK | ||
+ | ----------------------------------- | ||
+ | |||
+ | Tests and results are available in AWStats documentation, | ||
+ | |||
+ | |||
+ | |||
+ | IV - ABOUT THE AUTHOR, LICENSE AND SUPPORT | ||
+ | ----------------------------------------- | ||
+ | Copyright (C) 2000-2013 - Laurent Destailleur - eldy@users.sourceforge.net | ||
+ | |||
+ | 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 3 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. | ||
+ | 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, see < | ||
+ | |||
+ | </ | ||
+ | |||
+ | Die Anleitung zur Installation findet sich in unserem Programmverzeichnis. | ||
+ | # elinks / | ||
+ | |||
+ | Alternativ findet man die nötigen Informationen auch in der Onlinedokumentation. | ||
+ | $ firefox http:// | ||
+ | bzw. | ||
+ | $ firefox http:// | ||
+ | |||
+ | Bei der Installation können wir nun auf das mitgelieferte Script zurückgreifen. | ||
+ | # perl / | ||
+ | |||
+ | < | ||
+ | This tool will help you to configure AWStats to analyze statistics for | ||
+ | one web server. You can try to use it to let it do all that is possible | ||
+ | in AWStats setup, however following the step by step manual setup | ||
+ | documentation (docs/ | ||
+ | - You are not an administrator user, | ||
+ | - You want to analyze downloaded log files without web server, | ||
+ | - You want to analyze mail or ftp log files instead of web log files, | ||
+ | - You need to analyze load balanced servers log files, | ||
+ | - You want to ' | ||
+ | Read the AWStats documentation (docs/ | ||
+ | |||
+ | -----> Running OS detected: Linux, BSD or Unix | ||
+ | Warning: AWStats standard directory on Linux OS is '/ | ||
+ | If you want to use standard directory, you should first move all content | ||
+ | of AWStats distribution from current directory: | ||
+ | /usr/local | ||
+ | to standard directory: | ||
+ | / | ||
+ | And then, run configure.pl from this location. | ||
+ | Do you want to continue setup from this NON standard directory [yN] ? | ||
+ | </ | ||
+ | |||
+ | Aber wie heißt es da nun so schön **//however following the step by step manual setup | ||
+ | documentation is often a better idea.//** Wir brechen also die Konfiguration ab und ziehen den weg der manuellen Konfiguration vor. ;) | ||
+ | |||
+ | Damit wir später bei etwaigen Updates der Programmquellen von **awstats** nicht die ganzen Konfigurationen anpassen müssen, setzen wir noch einen symbolischen link auf das aktuelle Verzeichnis // | ||
+ | # ln -s / | ||
+ | |||
+ | Für unsere Konfigurationsdateien legen wir nun im ersten Schritt das benötigte Verzeichnis an. | ||
+ | # mkdir / | ||
+ | |||
+ | Anschließend kopieren wir die Vorlage-Datei **awstats.model.conf** in unser zuvor angelegtes Konfigurationsverzeichnis. | ||
+ | # cp / | ||
+ | |||
+ | Für die Statistikfiles (Datenbanken) legen wir noch ein passendes Verzeichnis an. | ||
+ | # mkdir / | ||
+ | |||
+ | Damit unser systemuser **apache** später auch auf das Verzeichnis mit dem Webinhalt zugreifen kann, passen wir nun noch die Rechte entsprechend an. | ||
+ | # chown apache.apache / | ||
+ | |||
+ | ==== Cronjob für Statistikaufbereitung ==== | ||
+ | Wie Eingangs schon erwähnt, besteht AWStats im Grunde aus zwei Teilen, der Statistikaufberreitung - sozusagen das **backend** und dem zweiten Teil der Darstellung und Präsentation durch den Webserver, das **frontend**. | ||
+ | |||
+ | Damit das backend nun regelmäßig die Webserver-Logfiles zusammenfasst und die AWStats-Datenbankfiles erstellen kann, benötigen wir ein passendes Script, welches wir nun anlegen. | ||
+ | |||
+ | # vim / | ||
+ | <file bash / | ||
+ | #!/bin/bash | ||
+ | |||
+ | if [ -f / | ||
+ | exec / | ||
+ | fi | ||
+ | exit 0 | ||
+ | </ | ||
+ | |||
+ | ==== Logrotate ==== | ||
+ | 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 // | ||
+ | |||
+ | Hierzu tragen wir nachfolgende Zeilen in die zentrale " | ||
+ | |||
+ | <code bash> | ||
+ | / | ||
+ | endscrip | ||
+ | </ | ||
+ | |||
+ | # vim / | ||
+ | <file bash / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | { | ||
+ | sharedscripts | ||
+ | prerotate | ||
+ | / | ||
+ | endscrip | ||
+ | postrotate | ||
+ | /bin/kill -HUP `cat / | ||
+ | endscript | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | ==== Konfiguration des Apache vHosts ==== | ||
+ | Mit dem Editor unserer Wahl ergänzen wir nun unsere virtuellen Hosts um einen weiteren: | ||
+ | # vim / | ||
+ | |||
+ | <file apache / | ||
+ | # | ||
+ | # aw-stats.nausch.org | ||
+ | # | ||
+ | < | ||
+ | ServerAdmin webmaster@nausch.org | ||
+ | ServerName awstats.nausch.org | ||
+ | ServerAlias www.awstats.nausch.org | ||
+ | ServerPath / | ||
+ | DocumentRoot "/ | ||
+ | |||
+ | < | ||
+ | Options None | ||
+ | Order deny,allow | ||
+ | Deny from all | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | AllowOverride None | ||
+ | Options +ExecCGI | ||
+ | | ||
+ | | ||
+ | Deny from all | ||
+ | Allow from 127.0.0.1 | ||
+ | Allow from 10.0.0.0/24 | ||
+ | Allow from 10.0.10.0/ | ||
+ | </ | ||
+ | |||
+ | Alias / | ||
+ | Alias /awstatscss "/ | ||
+ | Alias / | ||
+ | Alias / | ||
+ | ScriptAlias / "/ | ||
+ | |||
+ | ErrorLog logs/ | ||
+ | CustomLog logs/ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Bevor wir unsere Konfigurationsänderung scharf schalten, überprüfen wir noch kurzer Hand die Änderungen auf syntaktische Fehler. | ||
+ | # service httpd configtest | ||
+ | |||
+ | Ist alles O.K. starten wir unseren Webserver durch, damit unsere Änderungen auch wirksam werden: | ||
+ | # | ||
+ | |||
+ | ==== Konfiguration der ersten Webseite ==== | ||
+ | Für die Auswertung unserer ersten Webseite, legen wir uns eine entsprechende Konfigurationsdatei an. Hierzu kopieren wir einfach die Vorlage-Datei. | ||
+ | # cp / | ||
+ | |||
+ | Mit dem Editor unserer Wahl passen wir nun die Parameter unseren Gegebenheiten nach an. | ||
+ | # vim / | ||
+ | <file bash / | ||
+ | # | ||
+ | # 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 / | ||
+ | # Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/ | ||
+ | # To include an environment variable in any parameter (AWStats will replace | ||
+ | # it with its value when reading it), follow the example: | ||
+ | # Parameter=" | ||
+ | # 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. | ||
+ | # | ||
+ | # $Revision: 1.350 $ - $Author: eldy $ - $Date: 2010/09/29 19:16:21 $ | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # MAIN SETUP SECTION (Required to make AWStats work) | ||
+ | # | ||
+ | |||
+ | # " | ||
+ | # Possible values: A full path, or a relative path from awstats.pl directory. | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # 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 : | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # use n=24 if you need (1-7, 1=monday) | ||
+ | # | ||
+ | # use n=24 if you need (0-6, 0=monday) | ||
+ | # Use 0 for n if you need current year, month, day, hour... | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # You can also use a pipe if log file come from a pipe : | ||
+ | # Example: "gzip -d </ | ||
+ | # If there are several log files from load balancing servers : | ||
+ | # Example: "/ | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: LogFile="/ | ||
+ | LogFile="/ | ||
+ | |||
+ | |||
+ | # 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 " | ||
+ | # 1 - Apache or Lotus Notes/ | ||
+ | # 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, | ||
+ | # " | ||
+ | # you must use following keys to define the log format string (See FAQ for | ||
+ | # ftp, mail or exotic web log format examples): | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # will discard records not in SiteDomain nor HostAliases | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # If your log format has some fields not included in this list, use: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # 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 | ||
+ | |||
+ | |||
+ | # If your log field' | ||
+ | # This parameter is not used if LogFormat is a predefined value (1,2,3,4) | ||
+ | # Backslash can be used as escape character. | ||
+ | # Example: " " | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # Example: "," | ||
+ | # Default: " " | ||
+ | # | ||
+ | LogSeparator=" | ||
+ | |||
+ | |||
+ | # " | ||
+ | # 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: " | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default SiteDomain=" | ||
+ | SiteDomain=" | ||
+ | |||
+ | |||
+ | # 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/ | ||
+ | # You can repeat the " | ||
+ | # 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 @/ | ||
+ | # Example: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: | ||
+ | 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 ' | ||
+ | # 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 " | ||
+ | # you want AWStats to save its database and working files into. | ||
+ | # Warning: If you want to be able to use the " | ||
+ | # feature (see later), you need " | ||
+ | # directory (and " | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # Example: " | ||
+ | # Default: " | ||
+ | # | ||
+ | DirData="/ | ||
+ | |||
+ | |||
+ | # 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: "/ | ||
+ | # Default: "/ | ||
+ | # | ||
+ | DirCgi="/ | ||
+ | |||
+ | |||
+ | # Relative or absolute web URL of your awstats icon directory. | ||
+ | # If you build static reports ("... -output > outputpath/ | ||
+ | # path of icon directory relative to the output directory ' | ||
+ | # Example: "/ | ||
+ | # Example: " | ||
+ | # Default: "/ | ||
+ | # | ||
+ | DirIcons="/ | ||
+ | |||
+ | |||
+ | # When this parameter is set to 1, AWStats adds a button on report page to | ||
+ | # allow to " | ||
+ | # made from a browser, AWStats is run as a CGI by the web server user defined | ||
+ | # in your web server (user " | ||
+ | # IIS), so the " | ||
+ | # awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if | ||
+ | # necessary to " | ||
+ | # 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 | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: AllowToUpdateStatsFromBrowser=0 | ||
+ | AllowToUpdateStatsFromBrowser=1 | ||
+ | |||
+ | |||
+ | # 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 ' | ||
+ | # 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 | ||
+ | # | ||
+ | AllowFullYearView=2 | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # 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 ' | ||
+ | # or just ' | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: "/ | ||
+ | # Default: " | ||
+ | # | ||
+ | DNSStaticCacheFile=" | ||
+ | |||
+ | |||
+ | # 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: "/ | ||
+ | # Default: " | ||
+ | # | ||
+ | DNSLastUpdateCacheFile=" | ||
+ | |||
+ | |||
+ | # 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: " | ||
+ | # 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 " | ||
+ | # 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/ | ||
+ | # AllowAccessFromWebToAuthenticatedUsersOnly is set to 1. | ||
+ | # Change : Effective immediatly | ||
+ | # Example: "user1 user2" | ||
+ | # Example: " | ||
+ | # 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: " | ||
+ | # Default: "" | ||
+ | # | ||
+ | AllowAccessFromWebToFollowingIPAddresses="" | ||
+ | |||
+ | |||
+ | # If the " | ||
+ | # 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="/ | ||
+ | # 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 " | ||
+ | # larger than using " | ||
+ | # 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 ' | ||
+ | # 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/ | ||
+ | # 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' | ||
+ | # 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 " | ||
+ | # 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 ' | ||
+ | # 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 " | ||
+ | # Change : Effective for new updates only | ||
+ | # Possible values: 0 or 1 | ||
+ | # Default: 0 | ||
+ | # | ||
+ | KeepBackupOfHistoricFiles=1 | ||
+ | |||
+ | |||
+ | # Default index page name for your web server. | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: " | ||
+ | # Default: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: DefaultFile=" | ||
+ | DefaultFile=" | ||
+ | |||
+ | |||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # Example: " | ||
+ | # Default: "" | ||
+ | # | ||
+ | SkipHosts=" | ||
+ | |||
+ | |||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # 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 / | ||
+ | # pages in a particular directory, add " | ||
+ | # The opposite parameter of " | ||
+ | # 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: "/ | ||
+ | # 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/ | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: "/ | ||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # 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 " | ||
+ | # 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: " | ||
+ | # Default: "" | ||
+ | # | ||
+ | OnlyFiles="" | ||
+ | |||
+ | |||
+ | # Add here a list of kind of url (file extension) that must be counted as | ||
+ | # "Hit only" and not as a " | ||
+ | # 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=" | ||
+ | |||
+ | |||
+ | # 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 ' | ||
+ | # 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=" | ||
+ | |||
+ | |||
+ | # 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=" | ||
+ | |||
+ | |||
+ | # 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, "?" | ||
+ | # / | ||
+ | # However, some servers/ | ||
+ | # 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? | ||
+ | # 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: "/ | ||
+ | # 1 - Full URL with query string is used (ie: "/ | ||
+ | # 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 " | ||
+ | # / | ||
+ | # will be reported as 2 hits on / | ||
+ | # This parameter is not used when URLWithQuery is 0 and can't be used with | ||
+ | # URLWithQueryWithoutFollowingParameters. | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: " | ||
+ | # 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 " | ||
+ | # / | ||
+ | # will be reported as 2 hits on / | ||
+ | # This parameter is not used when URLWithQuery is 0 and can't be used with | ||
+ | # URLWithQueryWithOnlyFollowingParameters. | ||
+ | # Change : Effective for new updates only | ||
+ | # Example: " | ||
+ | # 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? | ||
+ | # 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: "/ | ||
+ | # 1 - Full URL with query string is used (ie: "/ | ||
+ | # 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: " | ||
+ | # Example: " | ||
+ | # 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 </ | ||
+ | # | ||
+ | # <script type=" | ||
+ | # < | ||
+ | # | ||
+ | # 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: "/ | ||
+ | # | ||
+ | MiscTrackerUrl="/ | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # 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/ | ||
+ | # 2 = Full detection | ||
+ | # Change : Effective for new updates only | ||
+ | # Note : LevelForBrowsersDetection can also accept value " | ||
+ | # enable detailed detection of phone/pda browsers. | ||
+ | # Default: 2 (0 for LevelForWormsDetection) | ||
+ | # | ||
+ | LevelForBrowsersDetection=2 | ||
+ | # 2 reduces AWStats speed by 2% | ||
+ | # allphones reduces AWStats speed by 5% | ||
+ | LevelForOSDetection=2 | ||
+ | # 2 reduces AWStats speed by 3% | ||
+ | LevelForRefererAnalyze=2 | ||
+ | # 2 reduces AWStats speed by 14% | ||
+ | LevelForRobotsDetection=2 | ||
+ | # 2 reduces AWStats speed by 2.5% | ||
+ | LevelForSearchEnginesDetection=2 | ||
+ | # 2 reduces AWStats speed by 9% | ||
+ | LevelForKeywordsDetection=2 | ||
+ | # 2 reduces AWStats speed by 1% | ||
+ | LevelForFileTypesDetection=2 | ||
+ | # 2 reduces AWStats speed by 1% | ||
+ | LevelForWormsDetection=0 | ||
+ | # 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, | ||
+ | # Chinese (Taiwan)=tw, | ||
+ | # Danish=dk, Dutch=nl, English=en, Estonian=et, | ||
+ | # French=fr, Galician=gl, | ||
+ | # Icelandic=is, | ||
+ | # Latvian=lv, Norwegian (Nynorsk)=nn, | ||
+ | # Portuguese=pt, | ||
+ | # Serbian=sr, Slovak=sk, Slovenian=si, | ||
+ | # Ukrainian=ua, | ||
+ | # First available language accepted by browser=auto | ||
+ | # Default: " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: Lang=" | ||
+ | Lang=" | ||
+ | |||
+ | |||
+ | # Set the location of language files. | ||
+ | # Example: "/ | ||
+ | # Default: " | ||
+ | # | ||
+ | DirLang=" | ||
+ | |||
+ | |||
+ | # Show menu header with reports' | ||
+ | # 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... | ||
+ | # | ||
+ | # 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, | ||
+ | # 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/ | ||
+ | # Context: Web, Streaming, Mail, Ftp | ||
+ | # Default: PHB, Possible column codes: PHB | ||
+ | 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), | ||
+ | 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), | ||
+ | # Django : 2012-07-04 | ||
+ | # 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/ | ||
+ | MaxNbOfDomain = 10 | ||
+ | MinHitDomain | ||
+ | # Stats by hosts | ||
+ | MaxNbOfHostsShown = 10 | ||
+ | MinHitHost | ||
+ | # Stats by authenticated users | ||
+ | MaxNbOfLoginShown = 10 | ||
+ | MinHitLogin | ||
+ | # Stats by robots | ||
+ | MaxNbOfRobotShown = 10 | ||
+ | MinHitRobot | ||
+ | # Stats for Downloads | ||
+ | MaxNbOfDownloadsShown = 10 | ||
+ | MinHitDownloads = 1 | ||
+ | # Stats by pages | ||
+ | MaxNbOfPageShown = 10 | ||
+ | MinHitFile | ||
+ | # Stats by OS | ||
+ | MaxNbOfOsShown = 10 | ||
+ | MinHitOs | ||
+ | # 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 | ||
+ | # Stats for keyphrases | ||
+ | MaxNbOfKeyphrasesShown = 10 | ||
+ | MinHitKeyphrase = 1 | ||
+ | # Stats for keywords | ||
+ | MaxNbOfKeywordsShown = 10 | ||
+ | MinHitKeyword = 1 | ||
+ | # Stats for sender or receiver emails | ||
+ | MaxNbOfEMailsShown = 20 | ||
+ | MinHitEMail | ||
+ | |||
+ | |||
+ | # 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 | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: FirstDayOfWeek=0 | ||
+ | FirstDayOfWeek=1 | ||
+ | |||
+ | |||
+ | # List of visible flags that link to other language translations. | ||
+ | # See Lang parameter for list of allowed flag/ | ||
+ | # 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: "" | ||
+ | # 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 " | ||
+ | # 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: "/ | ||
+ | # 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, | ||
+ | # 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/ | ||
+ | # LogoLink is the expected URL when clicking on Logo. | ||
+ | # Default: " | ||
+ | # | ||
+ | Logo=" | ||
+ | LogoLink=" | ||
+ | |||
+ | |||
+ | # Value of maximum bar width/ | ||
+ | # Default: 260/90 | ||
+ | # | ||
+ | BarWidth | ||
+ | BarHeight | ||
+ | |||
+ | |||
+ | # 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: "/ | ||
+ | # Example: "/ | ||
+ | # Default: "" | ||
+ | # | ||
+ | StyleSheet="" | ||
+ | |||
+ | |||
+ | # Those color parameters can be used (if StyleSheet parameter is not used) | ||
+ | # to change AWStats look. | ||
+ | # Example: color_name=" | ||
+ | # | ||
+ | color_Background=" | ||
+ | color_TableBGTitle=" | ||
+ | color_TableTitle=" | ||
+ | color_TableBG=" | ||
+ | color_TableRowTitle=" | ||
+ | color_TableBGRowTitle=" | ||
+ | color_TableBorder=" | ||
+ | color_text=" | ||
+ | color_textpercent=" | ||
+ | color_titletext=" | ||
+ | color_weekend=" | ||
+ | color_link=" | ||
+ | color_hover=" | ||
+ | color_u=" | ||
+ | color_v=" | ||
+ | color_p=" | ||
+ | color_h=" | ||
+ | color_k=" | ||
+ | color_s=" | ||
+ | color_e=" | ||
+ | color_x=" | ||
+ | |||
+ | |||
+ | |||
+ | # | ||
+ | # PLUGINS | ||
+ | # | ||
+ | |||
+ | # Add here all plugin files you want to load. | ||
+ | # Plugin files must be .pm files stored in ' | ||
+ | # 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: | ||
+ | # NOTE: This will increased HTML report pages size, thus server load and bandwidth. | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: DecodeUTFKeys | ||
+ | # REQUIRED MODULES: Encode and URI::Escape | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # keywords/ | ||
+ | # referer search engine. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: IPv6 | ||
+ | # PARAMETERS: None | ||
+ | # REQUIRED MODULES: Net::IP and Net::DNS | ||
+ | # DESCRIPTION: | ||
+ | # lookup on IPv6 addresses. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: HashFiles | ||
+ | # REQUIRED MODULES: Storable | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # This increases DNS cache files loading speed, above all for very large web sites. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | # PLUGIN: UserInfo | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # authenticated user reports for each login value. | ||
+ | # A text file called userinfo.myconfig.txt, | ||
+ | # second is text to show, separated by a tab char) must be created in DirData | ||
+ | # directory. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: HostInfo | ||
+ | # REQUIRED MODULES: Net::XWhois | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # info on host (like whois records). | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: ClusterInfo | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # number. A text file called clusterinfo.myconfig.txt, | ||
+ | # 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. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: UrlAliases | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # A text file called urlalias.myconfig.txt, | ||
+ | # second is text to show, separated by a tab char) must be created into | ||
+ | # DirData directory. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: TimeHiRes | ||
+ | # REQUIRED MODULES: Time::HiRes (if Perl < 5.8) | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: TimeZone | ||
+ | # REQUIRED MODULES: Time::Local | ||
+ | # PARAMETERS: [timezone offset] | ||
+ | # DESCRIPTION: | ||
+ | # This plugin reduces AWStats speed of 10% !!!!!!! | ||
+ | # LoadPlugin=" | ||
+ | # LoadPlugin=" | ||
+ | # LoadPlugin=" | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: Rawlog | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # content of current log files. A filter is also available. | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GraphApplet | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: [CSS classes to override] | ||
+ | # DESCRIPTION: | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GraphGoogleChartAPI | ||
+ | # REQUIRED MODULES: None | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # 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. | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIPfree | ||
+ | # REQUIRED MODULES: Geo::IPfree version 0.2+ (from Graciliano M.P.) | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # 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% ! | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # MAXMIND GEO IP MODULES: Please see documentation for notes on all Maxmind modules | ||
+ | |||
+ | # PLUGIN: GeoIP | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # table with country name | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GeoIP_City_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # and hits by city including regions. | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-04 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GeoIP_ASN_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # 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 " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIP_Region_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # Canada can be detected. | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIP_ISP_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # PLUGIN: GeoIP_Org_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | # | ||
+ | # 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 | ||
+ | # | ||
+ | # and a regex to match, after a coma. Use " | ||
+ | # ExtraSectionFirstColumnTitleX is the first column title of the chart. | ||
+ | # ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to | ||
+ | # | ||
+ | # | ||
+ | # 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 " | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | |||
+ | # 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 "" | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== AddOn-Konfiguration (plugins) ==== | ||
+ | === Allow To Update Stats From Browser === | ||
+ | Wenn wir später die Statistiken auch mittels Mausklick im Browser aktualisieren wollen müssen wir dafür sorgen, dass unser Webserver auch in das betreffende Verzeichnis schreiben darf. | ||
+ | |||
+ | Wir passen hierzu die Berechtigungen unseres Document-Root an. | ||
+ | # chown apache: | ||
+ | |||
+ | In der Konfigurationsdatei von **awstats** aktivieren wir dann noch diese Option. | ||
+ | |||
+ | <code bash># When this parameter is set to 1, AWStats adds a button on report page to | ||
+ | # allow to " | ||
+ | # made from a browser, AWStats is run as a CGI by the web server user defined | ||
+ | # in your web server (user " | ||
+ | # IIS), so the " | ||
+ | # awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if | ||
+ | # necessary to " | ||
+ | # 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 | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: AllowToUpdateStatsFromBrowser=0 | ||
+ | AllowToUpdateStatsFromBrowser=1 | ||
+ | </ | ||
+ | === HostInfo === | ||
+ | Wir können uns auf unseren Statistik-Seiten bei den Hostinformationen eine Spalte **Whois Informationen** anzeigen lassen, wo wir dann über ein popup-Fenster direkt eine **whois-Abfrage** vornehmen können. | ||
+ | Hierzu muss das Perl-Modul **// | ||
+ | # yum install perl-Net-XWhois | ||
+ | |||
+ | In der betreffenden Hostkonfigurationsdatei von **awstats** aktivieren wir dann nur noch das notwendige plugin. | ||
+ | <code bash> | ||
+ | # PLUGIN: HostInfo | ||
+ | # REQUIRED MODULES: Net::XWhois | ||
+ | # PARAMETERS: None | ||
+ | # DESCRIPTION: | ||
+ | # info on host (like whois records). | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | </ | ||
+ | |||
+ | === GeoIP === | ||
+ | Auf unseren Statistikseiten können wir uns anzeigen lassen aus welchen Ländern und Orten die Anfragen/ | ||
+ | Hierzu wird neben dem Perl-Modul // | ||
+ | |||
+ | Bei der Grundinstallation von [[centos: | ||
+ | # rpm -qil perl-Geo-IP | ||
+ | < | ||
+ | Version | ||
+ | Release | ||
+ | Install Date: Tue 03 Jul 2012 05:53:34 PM CEST Build Host: lisse.hasselt.wieers.com | ||
+ | Group : Applications/ | ||
+ | Size : 370904 | ||
+ | Signature | ||
+ | Packager | ||
+ | URL : http:// | ||
+ | Summary | ||
+ | Description : | ||
+ | This module a simple file-based database. | ||
+ | IP blocks as keys, and countries as values. | ||
+ | public IP addresses and should be more | ||
+ | complete and accurate than reverse DNS lookups. | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Die benötigten Datenbanken holen wir uns direkt bei [[http:// | ||
+ | # cd / | ||
+ | |||
+ | Anschließend laden wir uns das **GeoIP** Datenbank auf unseren Rechner. | ||
+ | # wget http:// | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | Auch diese entpacken wir nun noch. | ||
+ | # gunzip GeoLiteCity.dat.gz | ||
+ | |||
+ | In der betreffenden Hostkonfigurationsdatei von **awstats** aktivieren wir dann noch die beiden plugins. | ||
+ | <code bash> | ||
+ | # MAXMIND GEO IP MODULES: Please see documentation for notes on all Maxmind modules | ||
+ | |||
+ | # PLUGIN: GeoIP | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # table with country name | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | |||
+ | # PLUGIN: GeoIP_City_Maxmind | ||
+ | # REQUIRED MODULES: Geo::IP or Geo:: | ||
+ | # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/ | ||
+ | # DESCRIPTION: | ||
+ | # and hits by city including regions. | ||
+ | # Replace spaces in the path of geoip data file with string " | ||
+ | # | ||
+ | # Django : 2012-07-03 | ||
+ | # default: # | ||
+ | LoadPlugin=" | ||
+ | </ | ||
+ | |||
+ | <WRAP round important> | ||
+ | |||
+ | Die Geo-Daten werden einmal im Monat aktualisiert zur Verfügung gestellt! Wir aktualisieren als bei Bedarf diese Datenbankdateien regelmäßig.</ | ||
+ | ==== erstes Ergebnis ==== | ||
+ | Nach erfolgreicher Konfiguration steht dem ersten Aufruf nichts mehr im Wege. Der Aufruf erfolgt über folgende URL: | ||
+ | |||
+ | $ firefox http:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | <WRAP round tip> | ||
+ | |||
+ | Der Teil nach // | ||
+ | |||
+ | Also z.B. < | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Die Kür - BetterAWSstats ===== | ||
+ | Nachdem uns AWStats ja schon viele Dinge bietet, verbessern wir das ganze noch mittels [[http:// | ||
+ | |||
+ | Mir persönlich gefällt vor allem neben der optischen Aufmachung, die komfortable Möglichkeit Auswertungen einzelner VHosts zu wechseln. | ||
+ | |||
+ | |||
+ | ==== Download ==== | ||
+ | Von der [[http:// | ||
+ | |||
+ | <WRAP round hint> | ||
+ | <WRAP round warning> | ||
+ | **BetterAWstats Fehler** | ||
+ | |||
+ | Es gab einen Fehler beim Lesen der awstats library Datei / | ||
+ | </ | ||
+ | ... greift man am besten bei der Installation von betterawstats gleich auf die angepasste Version von [[http:// | ||
+ | |||
+ | # wget http:// | ||
+ | </ | ||
+ | |||
+ | 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 / | ||
+ | |||
+ | Anschließend wechseln wir in unser Verzeichnis: | ||
+ | # cd / | ||
+ | |||
+ | Nun laden wir das Programmarchiv von der [[http:// | ||
+ | # wget http:// | ||
+ | |||
+ | oder alternativ: | ||
+ | # wget http:// | ||
+ | ==== Installation ==== | ||
+ | Das gerade heruntergeladene // | ||
+ | # unzip betterawstats-1.0.zip -d /usr/share/ | ||
+ | < | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | | ||
+ | | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | inflating: / | ||
+ | | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | | ||
+ | | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | inflating: / | ||
+ | </ | ||
+ | |||
+ | |||
+ | 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. | ||
+ | yum install php-gd -y | ||
+ | |||
+ | ==== Konfiguration ==== | ||
+ | Detaillierte Hinweise zur Installation und Konfiguration von **BetterAWStats** findet man in der mitgelieferten Installations-Datei. | ||
+ | # cat / | ||
+ | <file txt / | ||
+ | |||
+ | - 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: | ||
+ | chmod 664 ./ | ||
+ | and set $BAW_CONF[' | ||
+ | If your BetterAWStats installation is not protected by password, you have to make the | ||
+ | | ||
+ | |||
+ | 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 / | ||
+ | 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 / | ||
+ | |||
+ | Als nächstes passen wir die Dateirechte der Konfigurationsdatei an. | ||
+ | # chmod 640 / | ||
+ | |||
+ | Anschließend schenken wir unserem Apache-Systemuser das Webrootverzeichnis. | ||
+ | # chown apache.apache / | ||
+ | |||
+ | Nun bearbeiten wir die Konfigurationsdatei von **betterawstats** mit dem Editor unserer wahl, z.B. **vim**. | ||
+ | # vim / | ||
+ | <file php / | ||
+ | /** | ||
+ | * betterawstats - an alternative display for awstats data | ||
+ | * | ||
+ | * @author | ||
+ | * @copyright | ||
+ | * @version | ||
+ | * @link http:// | ||
+ | * | ||
+ | * Based on the GPL AWStats Totals script by: | ||
+ | * Jeroen de Jong < | ||
+ | * copyright | ||
+ | * version 1.13 (http:// | ||
+ | * | ||
+ | * 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. | ||
+ | * 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[' | ||
+ | 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[' | ||
+ | // file is writable by the server, AND protectthe BetterAWStats installation | ||
+ | // by a .htaccess file! | ||
+ | |||
+ | // | ||
+ | //* SITE SETTINGS | ||
+ | // | ||
+ | |||
+ | // NAME: Script URL | ||
+ | // INFO: The url of BetterAWstats' | ||
+ | // DEFAULT: ' | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Script path | ||
+ | // INFO: The path of BetterAWstats, | ||
+ | // DEFAULT: '/ | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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 ' | ||
+ | // slash | ||
+ | // DEFAULT: '/ | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Path to AWStats Libraries | ||
+ | // INFO: Set this value to the directory where AWStats saves its library | ||
+ | // files into. No trailing slash | ||
+ | // DEFAULT: '/ | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Path to AWStats Language files | ||
+ | // INFO: Set this value to the directory where AWStats saves its language | ||
+ | // files into. No trailing slash | ||
+ | // DEFAULT: '/ | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: URL to AWStats Icons | ||
+ | // INFO: The url to the awstats icons, should include the whole http://..., | ||
+ | // no trailing slash. | ||
+ | // DEFAULT: ' | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | // 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[' | ||
+ | |||
+ | // NAME: Change configuration password? | ||
+ | // INFO: This password is needed to access the online configuration. It has | ||
+ | // to be longer than 5 letters. | ||
+ | // DEFAULT: '' | ||
+ | // Django : 2013-11-13 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Limit to server? | ||
+ | // INFO: Set this to a simgle server that you want to limit or " | ||
+ | // show all. The server name should be the one used for awstats. | ||
+ | // DEFAULT: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | //* LAYOUT SETTINGS | ||
+ | // | ||
+ | |||
+ | // NAME: Layout Type | ||
+ | // INFO: Display page in vertical or horizontal layout? | ||
+ | // DEFAULT: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Language | ||
+ | // INFO: Set your language. Set to " | ||
+ | // DEFAULT: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | // ' | ||
+ | // ' | ||
+ | // ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Decimal Point | ||
+ | // INFO: Decimal Point Character (99.9) | ||
+ | // DEFAULT: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Thousands separator | ||
+ | // INFO: Thousand Digit separator (1' | ||
+ | // DEFAULT: "'" | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Date format (2007-31-12) | ||
+ | // INFO: How should a date look like? For formatting, please consult | ||
+ | // http:// | ||
+ | // DEFAULT: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Date & Time format (2007-31-12 23:59) | ||
+ | // INFO: How should a date & time look like? For formatting, | ||
+ | // http:// | ||
+ | // DEFAULT: 'Y-M-d H:i' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Percentage decimals | ||
+ | // INFO: How many decimals for percentage value? (99.9%) | ||
+ | // DEFAULT: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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[' | ||
+ | |||
+ | // NAME: Submit dropdowns on change | ||
+ | // INFO: If enabled, the site/date dropdowns do not have an " | ||
+ | // page is refreshed as soon as you choose a new value. Not recommended | ||
+ | // for large sites. | ||
+ | // DEFAULT: true | ||
+ | // POSSIBLE VALUES: true, false | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | //* TABLE SETTINGS | ||
+ | // | ||
+ | |||
+ | // NAME: First day of the week | ||
+ | // INFO: Should Sunday be the first day of the week or monday? | ||
+ | // DEFAULT: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Field Length | ||
+ | // INFO: What is the max. text length of table fields? (Applies only to | ||
+ | // links) | ||
+ | // DEFAULT: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Max. Table Lines | ||
+ | // INFO: What is the max. no. of lines a table can have? Set 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: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | //* 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: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | // ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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 " | ||
+ | // to prevent too wide charts | ||
+ | // DEFAULT: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Chart Titles? | ||
+ | // INFO: If enabled, it will show a title on top of each chart. | ||
+ | // DEFAULT: true | ||
+ | // POSSIBLE VALUES: true, false | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | //* JPGRAPH SETTINGS | ||
+ | // | ||
+ | |||
+ | // NAME: Enable JPgraph? | ||
+ | // INFO: To use JPGraph, you have to download it from | ||
+ | // http:// | ||
+ | // DEFAULT: true | ||
+ | // POSSIBLE VALUES: true, false | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Path to JPGraph | ||
+ | // INFO: Where is your JPGraph installation? | ||
+ | // in. No trailing slash) | ||
+ | // DEFAULT: '/ | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | //* ADVANCED SETTINGS | ||
+ | // | ||
+ | |||
+ | // NAME: XHTML/ HTML | ||
+ | // INFO: Do you want output in HTML or XHTML? | ||
+ | // DEFAULT: true | ||
+ | // POSSIBLE VALUES: true, false | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Debug | ||
+ | // INFO: Do you want to show debug-output (VERY detailed)? | ||
+ | // DEFAULT: true | ||
+ | // POSSIBLE VALUES: true, false | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // 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[' | ||
+ | |||
+ | // NAME: Module settings | ||
+ | // INFO: Are you using BetterAWstats as a module for another software? | ||
+ | // (Currently only Drupal is supported) | ||
+ | // DEFAULT: ' | ||
+ | // POSSIBLE VALUES: ' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | |||
+ | |||
+ | // | ||
+ | //* DISPLAY | ||
+ | // | ||
+ | |||
+ | // NAME: Summary | ||
+ | // INFO: General Overview of key figures and dates | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Monthly history | ||
+ | // INFO: Monthly data | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Days of month | ||
+ | // INFO: Daily data | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Days of week (Averages) | ||
+ | // INFO: Weekdays | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Hours (Averages) | ||
+ | // INFO: Hours of the day | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Visitors domains/ | ||
+ | // INFO: Domains of visitors | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Hosts | ||
+ | // INFO: IP addresses of visitors | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Authenticated users | ||
+ | // INFO: Logins for username/ | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | // visit | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Robots/ | ||
+ | // INFO: Spiders, Robots of Search engines etc. | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Worms | ||
+ | // INFO: Worms searching for security holes | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Visits duration | ||
+ | // INFO: How long have people been on the site? | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: File type | ||
+ | // INFO: What filetypes are on the site | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Pages-URL | ||
+ | // INFO: Pages on the site | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Files/paths | ||
+ | // INFO: Files/paths on the site | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Operating Systems | ||
+ | // INFO: Operating system of users | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Unknown OS (useragent field) | ||
+ | // INFO: Unknown Operating system | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Operating Systems (+Versions) | ||
+ | // INFO: Operating system of users including versions | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Browsers | ||
+ | // INFO: User Browser Type | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Browsers (+Versions) | ||
+ | // INFO: User Browser Type (+Versions) | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Unknown browsers (useragent field) | ||
+ | // INFO: Unknown Browsers | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Screen sizes | ||
+ | // INFO: Screensizes of users | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Referring search engines | ||
+ | // INFO: Referrals from search engines | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Referring sites | ||
+ | // INFO: Referrals from other sites | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Referring sites by Domains | ||
+ | // INFO: Referrals from other sites, grouped by 2-nd level domains | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Hotlinks | ||
+ | // INFO: Pages linking to images/data on your site | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Hotlinks by Domains | ||
+ | // INFO: Domains linking to images/data on your site | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: Search�Keyphrases | ||
+ | // INFO: Search phrases | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Search�Keywords | ||
+ | // INFO: Search words | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Miscellaneous | ||
+ | // INFO: User system features | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // NAME: HTTP Status codes | ||
+ | // INFO: Acesses to pages that returned errors | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Error�Hits | ||
+ | // INFO: Required but not found URLs (HTTP code 404) | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | // NAME: Color depth | ||
+ | // INFO: Screen colors of users | ||
+ | $BAW_CONF_DIS[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | // ' | ||
+ | ' | ||
+ | // SORT_ASC=Ascending, | ||
+ | ); | ||
+ | |||
+ | |||
+ | ?> | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Konfiguration des Apache vHosts ==== | ||
+ | Für den Zugriff auf unsere Webserver-Statistiken legen wir uns einen virtuellen Host an. Die entsprechende Konfigurationsdatei **vhosts.conf** haben wir im Verzeichnis **/ | ||
+ | Mit dem Editor unserer Wahl ergänzen wir nun unsere virtuelen Hosts um einen weiteren: | ||
+ | # vim / | ||
+ | |||
+ | <file apache / | ||
+ | # betterawstats.nausch.org | ||
+ | # | ||
+ | < | ||
+ | ServerAdmin webmaster@nausch.org | ||
+ | ServerName betterawstats.nausch.org | ||
+ | ServerAlias www.betterawstats.nausch.org | ||
+ | ServerPath / | ||
+ | DocumentRoot "/ | ||
+ | |||
+ | < | ||
+ | AllowOverride None | ||
+ | #Options +ExecCGI | ||
+ | | ||
+ | | ||
+ | Deny from all | ||
+ | Allow from 127.0.0.1 | ||
+ | Allow from 10.0.0.0/24 | ||
+ | Allow from 10.0.10.0/ | ||
+ | </ | ||
+ | |||
+ | Alias / | ||
+ | Alias /awstatscss "/ | ||
+ | Alias / | ||
+ | ScriptAlias /awstats/ "/ | ||
+ | |||
+ | ErrorLog logs/ | ||
+ | CustomLog logs/ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Fehlerhandling - Anpassung ==== | ||
+ | |||
+ | <WRAP round important> | ||
+ | |||
+ | Hat man **BetterAWStats** aus den offiziellen Quellen installiert, | ||
+ | <WRAP round alert> | ||
+ | **BetterAWstats Fehler** | ||
+ | |||
+ | Es gab einen Fehler beim Lesen der awstats library Datei / | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <file perl / | ||
+ | /** | ||
+ | * betterawstats, | ||
+ | * | ||
+ | * @author | ||
+ | * @copyright | ||
+ | * @version | ||
+ | * @link http:// | ||
+ | |||
+ | * Based on the GPL AWStats Totals script by: | ||
+ | * Jeroen de Jong < | ||
+ | * copyright | ||
+ | * version 1.13 (http:// | ||
+ | * | ||
+ | * 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. | ||
+ | * 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',' | ||
+ | */ | ||
+ | |||
+ | /** | ||
+ | * File contents: | ||
+ | * | ||
+ | * This file contains functions that read data from files process it and store it | ||
+ | * in an array. This concerns library-data as well as stats-data. Language files | ||
+ | * are NOT processed here. | ||
+ | */ | ||
+ | |||
+ | |||
+ | // this file can't be used on its own | ||
+ | if (strpos ($_SERVER[' | ||
+ | die ('This file can not be used on its own!' | ||
+ | } | ||
+ | |||
+ | /** | ||
+ | * Data function: read the data directories this function is called by | ||
+ | * baw_match_files() and itself recursively | ||
+ | * | ||
+ | * @param | ||
+ | * @return | ||
+ | * | ||
+ | */ | ||
+ | function baw_parse_dir($dir = false) { | ||
+ | global $BAW_CONF; | ||
+ | if ($dir == false) { | ||
+ | $dir = $BAW_CONF[' | ||
+ | } | ||
+ | if (!file_exists($dir)) { | ||
+ | echo baw_raise_error(' | ||
+ | return array(); | ||
+ | } | ||
+ | // add trailing slash if not exists | ||
+ | if (substr($dir, | ||
+ | $dir .= '/'; | ||
+ | } | ||
+ | baw_debug(' | ||
+ | $files = array(); | ||
+ | if ($dh = @opendir($dir)) { | ||
+ | while (($file = readdir($dh)) !== false) { | ||
+ | if (!preg_match('/ | ||
+ | if (is_dir($dir.$file)) { | ||
+ | $newdir = $dir.$file.'/'; | ||
+ | $files = array_merge($files, | ||
+ | baw_debug(' | ||
+ | } else { | ||
+ | $files[] = $dir.$file; | ||
+ | baw_debug(' | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | closedir($dh); | ||
+ | } | ||
+ | baw_debug(' | ||
+ | return $files; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | * Data function: find all files that contain the data for the current month and | ||
+ | * 12 month before now to write a rolling month data chart. This function is called | ||
+ | * by index.php | ||
+ | * | ||
+ | * fills the gl. arrays: $BAW_CURR[' | ||
+ | * | ||
+ | */ | ||
+ | function baw_match_files() { | ||
+ | global $BAW_CURR, $BAW_CONF, $BAW_CONF_DIS, | ||
+ | // read all the files in the directory | ||
+ | $dirfiles = baw_parse_dir(); | ||
+ | $pat_others = '/ | ||
+ | // go through all files and find matching ones | ||
+ | $year_array = array(); | ||
+ | $month_array = array(); | ||
+ | foreach ($dirfiles as $file) { | ||
+ | $filename = explode("/", | ||
+ | $filename = $filename[count($filename)-1]; | ||
+ | if (preg_match($pat_others, | ||
+ | $month = substr($filename, | ||
+ | $year = substr($filename, | ||
+ | $year_array[$year] = $year; | ||
+ | $month_array[$month] = $BAW_MES[$month + 59]; | ||
+ | // future feature where the admin can tell which sites to read/ exclude | ||
+ | // if (!$BAW_CONF[' | ||
+ | $site = $match[2]; | ||
+ | $BAW_DFILES[$site][$year.$month] = array( | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | // add the sites to another array since we need that for the config editor | ||
+ | $BAW_SERVERS[$site] = $site; | ||
+ | baw_debug(" | ||
+ | } | ||
+ | } | ||
+ | if (count($year_array)> | ||
+ | $year_array = array_unique($year_array); | ||
+ | ksort($year_array); | ||
+ | } | ||
+ | if (count($month_array)> | ||
+ | ksort($month_array); | ||
+ | $month_array = array_unique($month_array); | ||
+ | } | ||
+ | $BAW_CURR[' | ||
+ | $BAW_CURR[' | ||
+ | // since we added sites with each file, remove duplicates | ||
+ | ksort($BAW_DFILES); | ||
+ | ksort($BAW_SERVERS); | ||
+ | $BAW_SERVERS = array(' | ||
+ | if (!isset($BAW_CURR[' | ||
+ | $BAW_CURR[' | ||
+ | reset($BAW_DFILES); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | * Data function: calculate the month-data by summing up days and retrieving | ||
+ | * single-value data. This function is called by different display-functions | ||
+ | * | ||
+ | * @param | ||
+ | * @param | ||
+ | * @return | ||
+ | * | ||
+ | */ | ||
+ | function baw_calc_monthdata($t, | ||
+ | baw_debug(" | ||
+ | $pages = 0; | ||
+ | $hits = 0; | ||
+ | $bandwidth = 0; | ||
+ | $not_viewed_pages = 0; | ||
+ | $not_viewed_hits = 0; | ||
+ | $not_viewed_bandwidth = 0; | ||
+ | $num_t = count($t); | ||
+ | for ($i=0; $i< | ||
+ | $pages += $t[$i][0]; | ||
+ | $hits += $t[$i][1]; | ||
+ | $bandwidth += $t[$i][2]; | ||
+ | $not_viewed_pages += $t[$i][3]; | ||
+ | $not_viewed_hits += $t[$i][4]; | ||
+ | $not_viewed_bandwidth += $t[$i][5]; | ||
+ | } | ||
+ | $result = array( | ||
+ | $g[' | ||
+ | $g[' | ||
+ | $pages, | ||
+ | $hits, | ||
+ | $bandwidth, | ||
+ | $not_viewed_pages, | ||
+ | $not_viewed_hits, | ||
+ | $not_viewed_bandwidth | ||
+ | ); | ||
+ | return $result; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | * Data Function: read data from awstats library files (perl format) | ||
+ | * Opens a file, reads the contents and does corrections and makes PHP out of PERL | ||
+ | * This function is called by the file library.inc.php | ||
+ | * | ||
+ | * @param | ||
+ | * @param | ||
+ | * @return | ||
+ | * | ||
+ | */ | ||
+ | function baw_get_library($file, | ||
+ | global $BAW_CONF, $BAW_LOGTYPE; | ||
+ | $file = $BAW_CONF[' | ||
+ | baw_debug(" | ||
+ | if (!file_exists($file)) { | ||
+ | echo baw_raise_error(' | ||
+ | exit; | ||
+ | } | ||
+ | // read the whole file in one go | ||
+ | $file_text = file_get_contents($file); | ||
+ | // these are to attempt to convert the perl data file to PHP | ||
+ | |||
+ | $search = array( | ||
+ | " | ||
+ | "= ", // remove spaces between = and ( | ||
+ | " | ||
+ | " | ||
+ | "' | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ",,", | ||
+ | ' target=" | ||
+ | ' [new window]', | ||
+ | '<a href="', | ||
+ | '&', | ||
+ | '/" | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | $replace | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | "', | ||
+ | "= array(", | ||
+ | "= array(", | ||
+ | "= array(", | ||
+ | "= array(", | ||
+ | ",", | ||
+ | " ", | ||
+ | " ", | ||
+ | '<a class=" | ||
+ | '& | ||
+ | '/" | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | $file_text = str_replace($search, | ||
+ | |||
+ | $check = eval($file_text); | ||
+ | // check if we have an error with the conversion | ||
+ | if ($check === false) { | ||
+ | echo baw_raise_error(' | ||
+ | } | ||
+ | if (is_array($data)) { | ||
+ | $a = 0; | ||
+ | foreach($data as $arr_name) { | ||
+ | $countpairs = count($$arr_name); | ||
+ | $parr = $$arr_name; | ||
+ | for ($i=0; $i< | ||
+ | $new_arr[$a][$parr[$i]] = $parr[$i+1]; | ||
+ | } | ||
+ | $a++; | ||
+ | } | ||
+ | } else { | ||
+ | $countpairs = count($$data); | ||
+ | $parr = $$data; | ||
+ | for ($i=0; $i< | ||
+ | $new_arr[$parr[$i]] = $parr[$i+1]; | ||
+ | } | ||
+ | } | ||
+ | return $new_arr; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | * Data Function: read data from awstats data file. Identifies the file to read, | ||
+ | * locates the data-map, reads the data. This function is called by every single | ||
+ | * display-function on need for data. Some data might be read twice or more. | ||
+ | * | ||
+ | * @param | ||
+ | * @param | ||
+ | * @param | ||
+ | * @return | ||
+ | * | ||
+ | */ | ||
+ | function baw_data($site, | ||
+ | global $BAW_CONF, $BAW_LIB, $BAW_CURR, $BAW_DFILES; | ||
+ | $MAP = array(); | ||
+ | baw_debug(" | ||
+ | // we have to remove the linebreaks otherwise they end up in the data | ||
+ | $brs_arr = array(" | ||
+ | $brr_arr = array("", | ||
+ | $dataset = array(); | ||
+ | // reduce the dataset to the necessary data | ||
+ | if (!isset($BAW_DFILES[$site][$date])) { | ||
+ | return false; | ||
+ | } else { | ||
+ | $dataset[$date] = $BAW_DFILES[$site][$date]; | ||
+ | } | ||
+ | |||
+ | // iterate each data file | ||
+ | $file = $dataset[$date][' | ||
+ | $f = fopen($file, | ||
+ | $map = $dataset[$date][' | ||
+ | baw_debug(" | ||
+ | |||
+ | // read the map if required | ||
+ | if ($map == null) { | ||
+ | baw_read_filemap($f, | ||
+ | if (!isset($BAW_DFILES[$site][$date][' | ||
+ | return false; | ||
+ | } else { | ||
+ | $offset = $BAW_DFILES[$site][$date][' | ||
+ | } | ||
+ | } else if (isset($map[$data_type])) { | ||
+ | $offset = $map[$data_type]; | ||
+ | baw_debug(" | ||
+ | } else { | ||
+ | baw_debug(" | ||
+ | return false; | ||
+ | } | ||
+ | $filedata = array(); | ||
+ | |||
+ | fseek($f , $offset, SEEK_SET); | ||
+ | $check = 1; | ||
+ | while ($check !== 0) { | ||
+ | baw_debug(" | ||
+ | $firstline = fgets($f, 20000); | ||
+ | $check = strpos($firstline," | ||
+ | } | ||
+ | |||
+ | if ($check !== 0) { | ||
+ | $err_data = array($file, | ||
+ | echo baw_raise_error(' | ||
+ | exit; | ||
+ | } | ||
+ | $index = explode(' | ||
+ | $lines_count = $index[1]; | ||
+ | baw_debug(" | ||
+ | for ($i=0; $i< | ||
+ | baw_debug(" | ||
+ | $str = fgets($f, 20000); | ||
+ | if (substr($str, | ||
+ | continue; | ||
+ | } | ||
+ | // remove linebreaks from string | ||
+ | $str = str_replace($brs_arr, | ||
+ | $line_arr = explode(' | ||
+ | // shift first element as array name | ||
+ | $first_element = array_shift($line_arr); | ||
+ | // check if one dataset has occurred twice and would | ||
+ | // overwrite another. SIDER and PAGEREF had this issue for sure. | ||
+ | if (!isset($filedata[$first_element])) { | ||
+ | $filedata[$first_element] = $line_arr; | ||
+ | } else { | ||
+ | foreach ($line_arr as $no => $line_item) { | ||
+ | if (is_numeric($line_item)) { | ||
+ | // this could cause trouble in case this was a date, percentage etc. | ||
+ | $filedata[$first_element][$no] += $line_item; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | fclose($f); | ||
+ | baw_debug(" | ||
+ | return $filedata; | ||
+ | } | ||
+ | |||
+ | /* | ||
+ | * Data Function: read the filemap at the begginning of a data file. This function | ||
+ | * is called only by baw_data if the data was not read before. | ||
+ | * | ||
+ | * @param | ||
+ | * @param | ||
+ | * @param | ||
+ | * adds the data to gl. array $BAW_DFILES | ||
+ | * | ||
+ | */ | ||
+ | function baw_read_filemap(& | ||
+ | global $BAW_DFILES; | ||
+ | // $f = fopen($file, | ||
+ | $str =''; | ||
+ | $check = 1; | ||
+ | // read this file until we hit the offsets | ||
+ | while ($check !== 0) { | ||
+ | $str = fgets($f, 20000); | ||
+ | // check for XML Data | ||
+ | if (strstr($str, | ||
+ | echo baw_raise_error(' | ||
+ | exit; | ||
+ | } | ||
+ | $check = strpos($str, | ||
+ | } | ||
+ | $check = explode(' | ||
+ | $lines_count = $check[1]; // line length of the map | ||
+ | baw_debug(" | ||
+ | // now read x more lines | ||
+ | for ($i=0; $i< | ||
+ | $str = fgets($f, 512); | ||
+ | // split the info in string - byte offset | ||
+ | $check = explode(' | ||
+ | $type = substr($check[0], | ||
+ | $offset = $check[1]; | ||
+ | if ($offset > 1) { | ||
+ | baw_debug(" | ||
+ | $BAW_DFILES[$site][$date][' | ||
+ | } else { | ||
+ | echo baw_raise_error(' | ||
+ | exit; | ||
+ | } | ||
+ | } | ||
+ | baw_debug(" | ||
+ | } | ||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | <file perl / | ||
+ | /** | ||
+ | * betterawstats - an alternative display for awstats data | ||
+ | * | ||
+ | * @author | ||
+ | * @copyright | ||
+ | * @version | ||
+ | * @link http:// | ||
+ | |||
+ | * Based on the GPL AWStats Totals script by: | ||
+ | * Jeroen de Jong < | ||
+ | * copyright | ||
+ | * version 1.13 (http:// | ||
+ | * | ||
+ | * 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. | ||
+ | * 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. | ||
+ | */ | ||
+ | |||
+ | /** | ||
+ | * File contents: | ||
+ | * | ||
+ | * This file sets default/ | ||
+ | * from the library files. | ||
+ | */ | ||
+ | |||
+ | |||
+ | // this file can't be used on its own | ||
+ | if (strpos ($_SERVER[' | ||
+ | die ('This file can not be used on its own!' | ||
+ | } | ||
+ | |||
+ | $BAW_LIB[' | ||
+ | // class img text format | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | // this is defined here to indicate the order of the array, otherwise the information is in the datafile | ||
+ | $BAW_LIB[' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | $BAW_LIB[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | |||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | list ( | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | "/ | ||
+ | array(' | ||
+ | ); | ||
+ | list ( | ||
+ | $mime_hash_lib, | ||
+ | $mime_hash_family) = baw_get_library ( | ||
+ | "/ | ||
+ | array(' | ||
+ | ); | ||
+ | // In the 7.x version of AWStats the meanings of the mime arrays is | ||
+ | // different from the 6.x versions. We can check for this by seeing if the | ||
+ | // first element of $mime_hash_lib has two elements. | ||
+ | $mime_hash_lib_values = array_values($mime_hash_lib); | ||
+ | if (count($mime_hash_lib_values[0]) == 2) { | ||
+ | // This is the 7.x version of AWStats | ||
+ | $BAW_LIB[' | ||
+ | foreach ($mime_hash_lib as $ext => $family_type) { | ||
+ | $BAW_LIB[' | ||
+ | } | ||
+ | $BAW_LIB[' | ||
+ | } | ||
+ | else { | ||
+ | // This is the 6.x version of AWStats | ||
+ | $mime_hash_icon = baw_get_library("/ | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | } | ||
+ | $BAW_LIB[' | ||
+ | list ( | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | "/ | ||
+ | array(' | ||
+ | ); | ||
+ | $BAW_LIB[' | ||
+ | $BAW_LIB[' | ||
+ | // ' | ||
+ | // ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | $BAW_LIB[' | ||
+ | |||
+ | $BAW_LIB[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ), | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ), | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ), | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ), | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ) | ||
+ | ); | ||
+ | |||
+ | /* | ||
+ | this is obsolete but kept here for ev. future usage | ||
+ | |||
+ | $BAW_LIB[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | */ | ||
+ | |||
+ | ?> | ||
+ | </ | ||
+ | |||
+ | Alternativ kann man auch gleich bei der Installation von betterawstats, | ||
+ | |||
+ | ==== erstes Ergebnis ==== | ||
+ | Nach erfolgreicher Konfiguration steht dem ersten Aufruf nichts mehr im Wege. Der Aufruf erfolgt bei dem hier gezeigtem Konfigurationsbeispiel über folgende URL: | ||
+ | |||
+ | $ firefox http:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | ==== Optimierung mit JpGraph ==== | ||
+ | Mit Hilfe der objektorientiereten Graphikbibliothek [[http:// | ||
+ | |||
+ | Hierzu laden wir uns von der [[http:// | ||
+ | # tar xzfv jpgraph-3.5.0b1.tar.gz -C / | ||
+ | |||
+ | Bevor wir uns nun an die Anpassung unserer Konfiguration machen, passen wir kurz noch die Verzeichnis und Dateirechte an. | ||
+ | # chown apache.apache / | ||
+ | |||
+ | Abschließend ergänzen wir noch die Konfigurationsdatei von BetterAWStats. | ||
+ | # vim / | ||
+ | |||
+ | <code php>... | ||
+ | |||
+ | // | ||
+ | //* JPGRAPH SETTINGS | ||
+ | // | ||
+ | |||
+ | // NAME: Enable JPgraph? | ||
+ | // INFO: To use JPGraph, you have to download it from | ||
+ | // http:// | ||
+ | // DEFAULT: true | ||
+ | // POSSIBLE VALUES: true, false | ||
+ | // Django : 2013-12-29 | ||
+ | // default: | ||
+ | // | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | // NAME: Path to JPGraph | ||
+ | // INFO: Where is your JPGraph installation? | ||
+ | // in. No trailing slash) | ||
+ | // DEFAULT: '/ | ||
+ | // Django : 2013-12-29 | ||
+ | // default: $BAW_CONF[' | ||
+ | $BAW_CONF[' | ||
+ | |||
+ | ... | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Website Analytics mit Piwik ===== | ||
+ | |||
+ | Einen ganz anderen Ansatz, nämlich nicht das Auswerten der Serverlogs, sondern das Sammeln von Informationen über den Client, geht [[http:// | ||
+ | |||
+ | Eine ausführliche (Installations-)Beschreibung zu **Piwik** findet man [[centos: | ||
+ | |||
+ | ====== Links ====== | ||
+ | * **[[wiki: | ||
+ | * **[[http:// | ||
+ | |||