Apache + Munin: "client denied by server configuration"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Apache + Munin: "client denied by server configuration"

Post by ^rooker »

[PROBLEM]
I've installed munin on Debian 6 (Squeeze) out of the basic repositories. Then I wanted to open the Munin graphs, by adding "/munin" to the URL, but it wouldn't open.
In /var/log/apache2/error.log it says that it won't allow access to the munin HTML folder:
client denied by server configuration: /var/cache/munin/www
[SOLUTION]
By default, Munin installs a configfile for apache (/etc/apache2/conf.d/munin), which only allows connections from localhost (127.0.0.0/8, ::1). If you want to open the Munin HTML page from other computers in your LAN too, you must modify the "Allow from..." part in Munin's Apache configfile.

In my case, I changed it to "Allow from all", but one could (and possibly should) limit that down to the IP ranges of your LAN.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply