[Pkg-mediawiki-devel] Bug#763353: mediawiki: Config file changes required for Apache 2.4

Wilfried Klaebe w+reportbug at chaos.in-kiel.de
Mon Sep 29 16:06:44 UTC 2014


Package: mediawiki
Version: 1:1.19.19+dfsg-0+deb7u1
Severity: important

Dear Maintainer,

The Apache config file included in the mediawiki package
(/etc/mediawiki/apache.conf) does not work with Apache 2.4 due to
changes in Apache auth syntax. The "Allow from all" syntax is now
"Require all granted". As mod_version  is installed and activated by
default in Debian, a generic solution would be to add version detection
to the config file. For example:

    <IfModule mod_version.c>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
    </IfModule>

For your convenience, I have attached a diff.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mediawiki-apache.conf.diff
Type: text/x-diff
Size: 513 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mediawiki-devel/attachments/20140929/070cee5a/attachment.diff>


More information about the Pkg-mediawiki-devel mailing list