2016-08-06 09:18:59 +02:00
|
|
|
# Enable this for template generation
|
|
|
|
Alias /munin /var/cache/munin/www
|
|
|
|
|
|
|
|
# Enable this for cgi-based templates
|
|
|
|
#Alias /munin-cgi/static /var/cache/munin/www/static
|
|
|
|
#ScriptAlias /munin-cgi /usr/lib/munin/cgi/munin-cgi-html
|
|
|
|
#<Location /munin-cgi>
|
|
|
|
# Order allow,deny
|
|
|
|
# Allow from localhost 127.0.0.0/8 ::1
|
|
|
|
# AuthUserFile /etc/munin/munin-htpasswd
|
|
|
|
# AuthName "Munin"
|
|
|
|
# AuthType Basic
|
|
|
|
# require valid-user
|
|
|
|
#</Location>
|
|
|
|
|
|
|
|
<Directory /var/cache/munin/www>
|
|
|
|
Order allow,deny
|
|
|
|
Allow from localhost 127.0.0.0/8 ::1
|
|
|
|
Options None
|
|
|
|
|
|
|
|
# This file can be used as a .htaccess file, or a part of your apache
|
|
|
|
# config file.
|
|
|
|
#
|
|
|
|
# For the .htaccess file option to work the munin www directory
|
|
|
|
# (/var/cache/munin/www) must have "AllowOverride all" or something
|
|
|
|
# close to that set.
|
|
|
|
#
|
|
|
|
|
|
|
|
AuthType Digest
|
2020-05-29 00:00:30 +02:00
|
|
|
AuthName "monitoring"
|
2016-08-06 09:18:59 +02:00
|
|
|
AuthDigestProvider file
|
2020-05-29 00:00:30 +02:00
|
|
|
AuthUserFile /etc/apache2/users/monitoring
|
2016-08-06 09:18:59 +02:00
|
|
|
Require valid-user
|
|
|
|
|
|
|
|
# This next part requires mod_expires to be enabled.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Set the default expiration time for files to 5 minutes 10 seconds from
|
|
|
|
# their creation (modification) time. There are probably new files by
|
|
|
|
# that time.
|
|
|
|
#
|
|
|
|
|
|
|
|
<IfModule mod_expires.c>
|
|
|
|
ExpiresActive On
|
|
|
|
ExpiresDefault M310
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
# Enables fastcgi for munin-cgi-html if present
|
|
|
|
#<Location /munin-cgi>
|
|
|
|
# <IfModule mod_fastcgi.c>
|
|
|
|
# SetHandler fastcgi-script
|
|
|
|
# </IfModule>
|
|
|
|
#</Location>
|
|
|
|
|
|
|
|
#<Location /munin-cgi/static>
|
|
|
|
# SetHandler None
|
|
|
|
#</Location>
|
|
|
|
|
|
|
|
# Enables fastcgi for munin-cgi-graph if present
|
|
|
|
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
|
|
|
|
<Location /munin-cgi/munin-cgi-graph>
|
|
|
|
AuthType Digest
|
2020-05-29 00:00:30 +02:00
|
|
|
AuthName "monitoring"
|
2016-08-06 09:18:59 +02:00
|
|
|
AuthDigestProvider file
|
2020-05-29 00:00:30 +02:00
|
|
|
AuthUserFile /etc/apache2/users/monitoring
|
2016-08-06 09:18:59 +02:00
|
|
|
Require valid-user
|
|
|
|
|
|
|
|
<IfModule mod_fcgid.c>
|
|
|
|
SetHandler fcgid-script
|
|
|
|
</IfModule>
|
|
|
|
<IfModule !mod_fcgid.c>
|
|
|
|
SetHandler cgi-script
|
|
|
|
</IfModule>
|
|
|
|
</Location>
|
|
|
|
|
|
|
|
ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
|
|
|
|
<Location /munin-cgi/munin-cgi-html>
|
|
|
|
AuthType Digest
|
2020-05-29 00:00:30 +02:00
|
|
|
AuthName "monitoring"
|
2016-08-06 09:18:59 +02:00
|
|
|
AuthDigestProvider file
|
2020-05-29 00:00:30 +02:00
|
|
|
AuthUserFile /etc/apache2/users/monitoring
|
2016-08-06 09:18:59 +02:00
|
|
|
Require valid-user
|
|
|
|
|
|
|
|
<IfModule mod_fcgid.c>
|
|
|
|
SetHandler fcgid-script
|
|
|
|
</IfModule>
|
|
|
|
<IfModule !mod_fcgid.c>
|
|
|
|
SetHandler cgi-script
|
|
|
|
</IfModule>
|
|
|
|
</Location>
|