[Pkg-nagios-devel] Bug#742155: Don't depend on mod_version for apache 2.2/2.4

Simon Deziel simon.deziel at gmail.com
Wed Mar 19 21:36:11 UTC 2014


Package: check-mk-server
Version: 1.2.2p3-1
Severity: minor
Tags: patch

Hi,

On Ubuntu, the default Apache setup doesn't include mod_version so the
trick used to handle Apache 2.2 and 2.4 doesn't work out of the box.
Using a IfModule directive as done in the patch does work though.

In the attached patch, the "allow from all" is translated to "Require
all granted" instead of "Require local" (equivalent of localhost
connection).

The section to gracefully degrade when mod_python isn't available was
also updated to handle both Apache versions.

Best regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improved-handling-of-2.2-and-2.4.patch
Type: text/x-patch
Size: 2936 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20140319/5dfaf105/attachment.bin>


More information about the Pkg-nagios-devel mailing list