From: Alex Dehnert Date: Tue, 2 Mar 2010 18:07:21 +0000 (-0500) Subject: Password-protect awstats X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=880f56e5ac6646e320d58c7269608ab71d63c7c7;p=sysconfig%2Fapache2.git Password-protect awstats --- diff --git a/htgroups b/htgroups new file mode 100644 index 0000000..7befaa4 --- /dev/null +++ b/htgroups @@ -0,0 +1 @@ +logs: alex diff --git a/sites-common/awstats b/sites-common/awstats index 92d2e2f..f3a930f 100644 --- a/sites-common/awstats +++ b/sites-common/awstats @@ -2,7 +2,9 @@ Alias /awstats/ "/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