Default configuration file Apache 2.2 not Apache 2.4

Bug #1258026 reported by madHamish
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
munin (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Ubuntu 13.10 ships with Apache 2.4, while Munin's default apache.conf file is written for Apache 2.2.
Therefore, the following changes should be made to /etc/munin/apache.conf for the
    - Order allow,deny
    - Allow from localhost 127.0.0.0/8 ::1
    + Require host localhost
    + Require ip 127.0.0.0/8 ::1
or something like that ...

$ lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10

$ apt-cache show munin
....
Version: 2.0.17-2ubuntu1

3) What you expected to happen
munin to work out-of-the box

4) What happened instead
got an access denied message when accessing http://127.0.0.1/munin

Tags: patch
Changed in munin (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Jostein Elvaker Haande (tolecnal) wrote :

The supplied patch will fix the issue with munin not working out of the box, as the config file /etc/munin/apache.conf uses the old Apache 2.2 config scheme, while Ubuntu 13.10 uses Apache 2.4.

Reference on usage can be found at http://httpd.apache.org/docs/2.4/mod/mod_authz_host.html

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch to fix issue with old 2.2 config scheme" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Jan Müller (jm-3) wrote :

can we fix this.

Valid patch is attached.

Revision history for this message
Jan Müller (jm-3) wrote :

-> would be great, if this could get fixed in ubuntu 14.04 soon.

Thanks :)

Revision history for this message
Viktor Petersson (vpetersson) wrote :

In order to get this to work from any host (it's a secure network), I had to add the following:

 Order allow,deny
 Allow from all
 Require all granted

Previously 'Allow from all' was sufficient.

Perhaps I'm not up to speed with Apache 2.4, but just wanted ot put it out there to save other people from wasting the time I did on this.

Revision history for this message
Nelson Minar (g-nelson) wrote :

I believe Ubuntu 14.04 now ships with Apache 2.4 by default, but Munin has not been updated to the 2.4-style configuration file. At least, I just set up Ubuntu 14.04 with a naive "apt-get install apache2 munin munin-node", and wasn't able to access http://localhost/munin/. Something like jm-3's patch seems important to apply.

Revision history for this message
Anton Piatek (anton-piatek) wrote :

I just want to add that having installed munin in 14.04 I had to perform the change in #5 to make it work. Can we get this into the bas package, it seems to have been around for some time now and it took me some time to figure out why apache wouldnt let me in!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.