From c27bc921167a1bcdd70e400e0b588e3648e4b761 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 21 Aug 2024 20:22:14 +0200 Subject: [PATCH] g --- roles/mgrote_munin_server/templates/apache.conf | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/roles/mgrote_munin_server/templates/apache.conf b/roles/mgrote_munin_server/templates/apache.conf index b0b5dada..732bdc14 100644 --- a/roles/mgrote_munin_server/templates/apache.conf +++ b/roles/mgrote_munin_server/templates/apache.conf @@ -2,23 +2,20 @@ ServerName {{ munin_servername }} # Redirect requests without /munin to /munin - RedirectMatch ^/$ /munin-cgi/ + RedirectMatch ^/$ /munin/ # Existing configuration for serving /munin Alias /munin /var/cache/munin/www - Require all granted - Options None + Require all granted + Options None ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph - Require all granted - - SetHandler fcgid-script - - - SetHandler cgi-script - + Require all granted + + SetHandler fcgid-script +