readme: vhost config
authorChristian Weiske <cweiske@cweiske.de>
Sun, 4 Dec 2011 21:48:14 +0000 (22:48 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sun, 4 Dec 2011 21:48:14 +0000 (22:48 +0100)
README

diff --git a/README b/README
index 34d9bc4..f7f550f 100644 (file)
--- a/README
+++ b/README
@@ -31,3 +31,18 @@ Installation
 5. Add update-sites.php to your crontab, let it run every hour
 6. Add update-lastmonth.php to your crontab and let it run
    on the first day every month
+
+
+AWStats vhost host setup
+------------------------
+AWStats needs a configuration file for each of the domains you want to analyze.
+
+The file needs to be put in ``/etc/awstats/awstats.$domain.conf``,
+e.g. ``/etc/awstats/awstats.cweiske.de.conf``.
+
+Example::
+
+  Include "/etc/awstats/awstats.conf"
+  LogFile="/var/log/apache2/cweiske/cweiske.de-access.log"
+  SiteDomain="cweiske.de"
+  DefaultFile=""