homeserver/roles/mgrote_munin_server/templates/apache.conf

49 lines
1.1 KiB
ApacheConf
Raw Normal View History

2024-08-12 12:46:22 +02:00
Documentroot /var/cache/munin/www
2024-08-12 12:53:37 +02:00
ServerName {{ munin_servername }}
2024-08-12 12:46:22 +02:00
<Directory /var/cache/munin/www>
Satisfy Any
Options none
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault M310
</IfModule>
</Directory>
2024-08-12 12:53:37 +02:00
Alias / /var/cache/munin/www/
2024-08-12 12:46:22 +02:00
<Directory /usr/lib/munin/cgi>
Satisfy Any
Options +ExecCGI
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</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>