g
This commit is contained in:
parent
aae4250099
commit
c27bc92116
1 changed files with 7 additions and 10 deletions
|
@ -2,23 +2,20 @@
|
||||||
ServerName {{ munin_servername }}
|
ServerName {{ munin_servername }}
|
||||||
|
|
||||||
# Redirect requests without /munin to /munin
|
# Redirect requests without /munin to /munin
|
||||||
RedirectMatch ^/$ /munin-cgi/
|
RedirectMatch ^/$ /munin/
|
||||||
|
|
||||||
# Existing configuration for serving /munin
|
# Existing configuration for serving /munin
|
||||||
Alias /munin /var/cache/munin/www
|
Alias /munin /var/cache/munin/www
|
||||||
<Directory /var/cache/munin/www>
|
<Directory /var/cache/munin/www>
|
||||||
Require all granted
|
Require all granted
|
||||||
Options None
|
Options None
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
|
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
|
||||||
<Location /munin-cgi/munin-cgi-graph>
|
<Location /munin-cgi/munin-cgi-graph>
|
||||||
Require all granted
|
Require all granted
|
||||||
<IfModule mod_fcgid.c>
|
<IfModule mod_fcgid.c>
|
||||||
SetHandler fcgid-script
|
SetHandler fcgid-script
|
||||||
</IfModule>
|
</IfModule>
|
||||||
<IfModule !mod_fcgid.c>
|
|
||||||
SetHandler cgi-script
|
|
||||||
</IfModule>
|
|
||||||
</Location>
|
</Location>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
Loading…
Reference in a new issue