From 880f56e5ac6646e320d58c7269608ab71d63c7c7 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Tue, 2 Mar 2010 13:07:21 -0500 Subject: [PATCH] Password-protect awstats --- htgroups | 1 + sites-common/awstats | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 htgroups 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 -- 2.34.1