Password-protect awstats
authorAlex Dehnert <adehnert@mit.edu>
Tue, 2 Mar 2010 18:07:21 +0000 (13:07 -0500)
committerAlex Dehnert <adehnert@mit.edu>
Tue, 2 Mar 2010 18:07:21 +0000 (13:07 -0500)
htgroups [new file with mode: 0644]
sites-common/awstats

diff --git a/htgroups b/htgroups
new file mode 100644 (file)
index 0000000..7befaa4
--- /dev/null
+++ b/htgroups
@@ -0,0 +1 @@
+logs: alex
index 92d2e2fb4d96522093154d059d4f374b951d2667..f3a930fc972b1abf1d0f1b04fed8976a8c9244c2 100644 (file)
@@ -2,7 +2,9 @@ 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
+AuthUserFile  /etc/apache2/htdigest
+AuthGroupFile /etc/apache2/htgroups
+AuthName "Secure"
+AuthType Digest
+Require group logs
 </Directory>