summaryrefslogtreecommitdiffstats
path: root/roles/awstats_vhost/templates/awstats.conf
blob: b7c013f0a9bf938e30529fa80e84f7c759631bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ScriptAlias /cgi-bin/ "/usr/share/awstats/wwwroot/cgi-bin/"

SetEnv AWSTATS_CONFIG www.theopensourceway.org
<Directory "/usr/share/awstats/wwwroot/cgi-bin">
        Options +ExecCGI
        AddHandler cgi-script .pl
        AllowOverride None
        Require all granted
</Directory>

<Location / >
    AuthType Basic
    AuthName "Authentication Required"
    AuthUserFile "/etc/httpd/htpasswd"
    require valid-user
</Location>