From 848e2ea82bd28c2b80900b5aafbd828b3ba600cc Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 21 Aug 2024 20:24:15 +0200 Subject: [PATCH] dd --- roles/mgrote_munin_server/templates/apache.conf | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 + +