Package: munin
Version: 2.0.1-1
Severity: whishlist

The apache configuration shipped by munin claims a number of
incompatible configurations. At some point /munin-cgi is used and at
another point /cgi-bin/munin-cgi-html. Both variants are non-obviously
intermixed. The /munin-cgi variant might work as long as one does not
try to enable fcgid execution, cause the SetHandler for /munin-cgi
apparently cannot be undone by a SetHandler None for /munin-cgi/static
resulting in http status 403 for static files. The other variant of
/cgi-bin/munin-cgi-html does not work for a lack of the static directory
which needs to be mapped to a directory below due to the design of
munin. In either case the fastcgi html rendering will not work. (Please
tell me that I overlooked something.)

It basically boils down to the problem that the cgi needs to be
responsible for a base url and the static directory needs to reside
immediately below that base url. This is notoriously hard to achieve
with apache. TTBOMK the only working solution[1] involves mod_rewrite.
This aspect is hard coded in at least the head.tmpl and HTMLConfig.pm
files and needs upstream support for being sorted out in the long run.

I therefore suggest to remove all mentioning of fastcgi html from the
sample apache configuration and reducing the variants in the url space
to just one. (Maybe the /munin-cgi one for it works with plain old cgi.)
Please note that the suggested snippets for cgi graphing do work quite
well.

Helmut

[1] http://munin-monitoring.org/wiki/CgiHowto2


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to