Add alex.mit.edu to the log processing
authorAlex Dehnert <adehnert@mit.edu>
Tue, 2 Mar 2010 18:22:19 +0000 (13:22 -0500)
committerAlex Dehnert <adehnert@mit.edu>
Tue, 2 Mar 2010 18:22:19 +0000 (13:22 -0500)
awstats.alex.conf [new file with mode: 0644]
awstats.conf.local
awstats.olinda.conf
cron-script.sh

diff --git a/awstats.alex.conf b/awstats.alex.conf
new file mode 100644 (file)
index 0000000..13cad88
--- /dev/null
@@ -0,0 +1,7 @@
+# AWSTATS CONFIGURE FILE 6.8
+
+Include "awstats.conf"
+LogFile="/var/log/apache2/access.alex.log"
+
+SiteDomain="alex.mit.edu"
+HostAliases="localhost 127.0.0.1 alex.mit.edu alex.dehnerts.com alex.dehnert.arctic.org adehnert.mit.edu adehnert.dehnerts.com adehnert.dehnert.arctic.org"
index 19e8929489d813a8a8e1313479a1d4de05aee433..27b56442d797ead572e8bfd93c11ad700ee9b598 100644 (file)
@@ -3,3 +3,4 @@
 # different virtual servers, who want to reuse common parameters.
 # Also, this file is not updated with each new upstream release.
 LogFormat=1 # Combined
+DirIcons="/awstats/icon"
index 8213306d6648d02225484bd6461f5537a9f4a9c4..29a3a4847e0a5462c396baaa239d946fe4605332 100644 (file)
@@ -1,6 +1,7 @@
 # AWSTATS CONFIGURE FILE 6.8
 
 Include "awstats.conf"
+LogFile="/var/log/apache2/access.olinda.log"
 
 SiteDomain="olinda.mit.edu"
 HostAliases="localhost 127.0.0.1 olinda.mit.edu www.dehnerts.com www.dehnert.arctic.org olinda.dehnerts.com olinda.dehnert.arctic.org"
index b0da2e3ba16070f81355a3507979df9c4d9fd8da..f3ddf1cedf4a116ac4b78b2633fa112543799933 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 
-domains="olinda"
+domains="olinda alex"
 
 if [ ! -x /usr/lib/cgi-bin/awstats.pl ]; then exit 1; fi
 
@@ -10,5 +10,8 @@ for domain in $domains; do
     /usr/lib/cgi-bin/awstats.pl -config=$domain -update
     echo "Building pages..."
     /var/lib/awstats/bin/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -config=$domain -dir=output
+    echo
+    echo
+    echo
 done
 echo "Done with awstats."