Ajout des directives pour Apache + warning sur l'installation de libapache2-mod-fcgid qui redémarre Apache

This commit is contained in:
whirigoyen 2021-08-09 18:01:49 +02:00
parent 2d8e1fd8a9
commit a158c25ef2

View file

@ -155,9 +155,15 @@ location ^~ /munin-cgi/munin-cgi-graph/ {
### Avec Apache
Installer `libapache2-mod-fcgid` puis ajouter au vhost :
Installer `libapache2-mod-fcgid` (attention apt redémarre Apache !), puis ajouter au vhost :
~~~{.apache}
# Munin. We need to set Directory directive as Alias take precedence.
Alias /munin /var/cache/munin/www
<Directory /var/cache/munin/>
Require all denied
Include /etc/apache2/ipaddr_whitelist.conf
</Directory>
# Munin cgi
# Ensure we can run (fast)cgi scripts
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph