Enable awstats
authorroot <root@olinda.mit.edu>
Tue, 2 Mar 2010 17:56:22 +0000 (12:56 -0500)
committerroot <root@olinda.mit.edu>
Tue, 2 Mar 2010 17:56:22 +0000 (12:56 -0500)
sites-available/default
sites-common/awstats [new file with mode: 0644]

index 8123b22dc68cff54aefa0fd0763abcbf14d5c1ff..2352a10dc45f4c1613732183580d76db72c3978e 100644 (file)
@@ -40,4 +40,6 @@
         Allow from 127.0.0.0/255.0.0.0 ::1/128
     </Directory>
 
+    Include sites-common/awstats
+
 </VirtualHost>
diff --git a/sites-common/awstats b/sites-common/awstats
new file mode 100644 (file)
index 0000000..92d2e2f
--- /dev/null
@@ -0,0 +1,8 @@
+Alias /awstats/ "/var/lib/awstats/output/"
+<Directory "/var/lib/awstats/output/">
+Options Indexes MultiViews FollowSymLinks
+AllowOverride None
+Order deny,allow
+Deny from all
+Allow from 127.0.0.0/255.0.0.0 ::1/128
+</Directory>