readme: vhost config
[awstats-helper.git] / README
diff --git a/README b/README
index d2ed48996c4eb07b6027b4a9e93d04111d7a75ed..f7f550f7847fb73e1240a35bf802cf3b418e2d6f 100644 (file)
--- a/README
+++ b/README
@@ -26,7 +26,23 @@ Installation
 ------------
 1. copy config.php.dist to config.php
 2. Adjust config.php to your needs
-3. Run create-historic.php to create all historic files
-4. Add update-sites.php to your crontab, let it run every hour
-5. Add update-lastmonth.php to your crontab and let it run
+3. Run update-sites.php to generate initial data collection
+4. Run create-historic.php to create all historic files
+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=""