Apache 2.4 und Munin 2

Das Munin Paket hat leider noch eine alte VHost Konfiguration und ist nicht ganz mit Apache 2.4 kompatibel. So geht es jedoch:

Alias /munin /var/cache/munin/www
<Directory "/var/cache/munin/www">
AuthUserFile /etc/apache2/munin.pw
AuthName "Restricted"
AuthType Basic
require valid-user
</Directory>
RewriteEngine On
RewriteRule ^/favicon.ico /etc/munin/static/favicon.ico [L]
RewriteRule ^/static/(.*) /etc/munin/static/$1 [L]
<Directory "/etc/munin/static">
Require all granted
</Directory>
<Directory "/usr/lib/munin/cgi">
Options +ExecCGI
Require all granted
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</IfModule>
</Directory>
view raw munin.conf hosted with ❤ by GitHub

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.