From 978a6c928cd0b6d420dcf15e349776c8bfc65ebc Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 21 Apr 2021 17:03:38 +0200 Subject: Add awstats logs --- roles/awstats_vhost/templates/awstats.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 roles/awstats_vhost/templates/awstats.conf (limited to 'roles/awstats_vhost/templates') diff --git a/roles/awstats_vhost/templates/awstats.conf b/roles/awstats_vhost/templates/awstats.conf new file mode 100644 index 0000000..b7c013f --- /dev/null +++ b/roles/awstats_vhost/templates/awstats.conf @@ -0,0 +1,17 @@ +ScriptAlias /cgi-bin/ "/usr/share/awstats/wwwroot/cgi-bin/" + +SetEnv AWSTATS_CONFIG www.theopensourceway.org + + Options +ExecCGI + AddHandler cgi-script .pl + AllowOverride None + Require all granted + + + + AuthType Basic + AuthName "Authentication Required" + AuthUserFile "/etc/httpd/htpasswd" + require valid-user + + -- cgit