diff --git a/roles/mgrote_munin_server/templates/apache.conf b/roles/mgrote_munin_server/templates/apache.conf index d4890a19..baded428 100644 --- a/roles/mgrote_munin_server/templates/apache.conf +++ b/roles/mgrote_munin_server/templates/apache.conf @@ -1,19 +1,20 @@ ServerName {{ munin_servername }} - # Redirect requests without /munin to /munin - RedirectMatch ^/$ /munin/ + ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph + ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html - # Existing configuration for serving /munin Require all granted - Options None - + Require all granted SetHandler fcgid-script - + + SetHandler cgi-script + +