Das Munin Paket hat leider noch eine alte VHost Konfiguration und ist nicht ganz mit Apache 2.4 kompatibel. So geht es jedoch:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |