This commit is contained in:
Michael Grote 2024-08-12 13:40:31 +02:00
parent f82f53ff94
commit bf4b60af0b

View file

@ -1,48 +1,16 @@
Documentroot /var/cache/munin/www Alias /munin /var/cache/munin/www
ServerName {{ munin_servername }}
<Directory /var/cache/munin/www> <Directory /var/cache/munin/www>
Satisfy Any Require local
Options none Options None
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault M310
</IfModule>
</Directory> </Directory>
Alias / /var/cache/munin/www/ ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
<Directory /usr/lib/munin/cgi> <Location /munin-cgi/munin-cgi-graph>
Satisfy Any Require local
Options +ExecCGI
<IfModule mod_fcgid.c> <IfModule mod_fcgid.c>
SetHandler fcgid-script SetHandler fcgid-script
</IfModule> </IfModule>
<IfModule !mod_fcgid.c> <IfModule !mod_fcgid.c>
SetHandler cgi-script SetHandler cgi-script
</IfModule> </IfModule>
</Directory>
<Location /munin-cgi>
Satisfy Any
</Location>
<Location /munin-cgi/munin-cgi-graph>
Satisfy Any
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</IfModule>
</Location>
<Location /munin-cgi/munin-cgi-html>
Satisfy Any
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</IfModule>
</Location> </Location>