summaryrefslogtreecommitdiffstats
path: root/etc/apache2/conf.d/munin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-04 17:23:46 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-04 17:23:46 +0100
commite761ae8344a098f46a37789c5b02bba1a424aa24 (patch)
tree5df76f65d128912506be9a79575adfe94f9d22e9 /etc/apache2/conf.d/munin
parentc9e6b8eb89bd1635f6f720746ac72fcfb636a3f6 (diff)
downloadjenkins.debian.net-e761ae8344a098f46a37789c5b02bba1a424aa24.tar.xz
add+configure munin
Diffstat (limited to 'etc/apache2/conf.d/munin')
-rw-r--r--etc/apache2/conf.d/munin86
1 files changed, 86 insertions, 0 deletions
diff --git a/etc/apache2/conf.d/munin b/etc/apache2/conf.d/munin
new file mode 100644
index 00000000..2c77e185
--- /dev/null
+++ b/etc/apache2/conf.d/munin
@@ -0,0 +1,86 @@
+# 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 all
+ 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.
+ #
+
+ # AuthUserFile /etc/munin/munin-htpasswd
+ # AuthName "Munin"
+ # AuthType Basic
+ # 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>
+ Order allow,deny
+ Allow from localhost 127.0.0.0/8 ::1
+ # AuthUserFile /etc/munin/munin-htpasswd
+ # AuthName "Munin"
+ # AuthType Basic
+ # require valid-user
+ <IfModule mod_fastcgi.c>
+ SetHandler fastcgi-script
+ </IfModule>
+</Location>
+
+ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
+<Location /munin-cgi/munin-cgi-html>
+ Order allow,deny
+ Allow from localhost 127.0.0.0/8 ::1
+ # AuthUserFile /etc/munin/munin-htpasswd
+ # AuthName "Munin"
+ # AuthType Basic
+ # require valid-user
+ <IfModule mod_fastcgi.c>
+ SetHandler fastcgi-script
+ </IfModule>
+</Location>
+