readme: vhost config
[awstats-helper.git] / README
diff --git a/README b/README
index 34d9bc40ac59ed51579bdde5ee8e189097a1db22..f7f550f7847fb73e1240a35bf802cf3b418e2d6f 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=""