summaryrefslogtreecommitdiff
path: root/debian/apache2.2-common.postinst
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@debian.org>2006-10-11 22:18:39 +0000
committerStefan Fritsch <sf@sfritsch.de>2012-01-02 10:36:37 +0100
commit1d3adfdcf559a8fde55e563262b2854fcea3164c (patch)
tree44dc738b2337d05510fa39e11fc8755f61aae768 /debian/apache2.2-common.postinst
parentcaaf9ed657045cc62420a36a94ebf3ed35ba63a5 (diff)
downloadapache2-1d3adfdcf559a8fde55e563262b2854fcea3164c.tar.gz
Enable the same list of modules as we had in 2.0 (by default) and do that for
all older versions than 2.2.3-3 to fix upgrade issues people have had. Closes: #392349 git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@242 01b336ce-410b-0410-9a02-a0e7f243c266
Diffstat (limited to 'debian/apache2.2-common.postinst')
-rw-r--r--debian/apache2.2-common.postinst12
1 files changed, 10 insertions, 2 deletions
diff --git a/debian/apache2.2-common.postinst b/debian/apache2.2-common.postinst
index 214dbfaa..9930db06 100644
--- a/debian/apache2.2-common.postinst
+++ b/debian/apache2.2-common.postinst
@@ -47,9 +47,8 @@ if [ "$2" = "<unknown>" -o -z "$2" ]; then
fi
fi
-if [ "$2" = "<unknown>" -o -z "$2" ] || dpkg --compare-versions "$2" lt 2.2.0; then
+if [ "$2" = "<unknown>" -o -z "$2" ] || dpkg --compare-versions "$2" lt 2.2.0-3; then
a2enmod alias
- a2enmod authz_host
a2enmod autoindex
a2enmod dir
a2enmod env
@@ -57,6 +56,15 @@ if [ "$2" = "<unknown>" -o -z "$2" ] || dpkg --compare-versions "$2" lt 2.2.0; t
a2enmod negotiation
a2enmod setenvif
a2enmod status
+ a2enmod auth_basic
+
+ # Those come from mod_auth:
+ a2enmod authz_default
+ a2enmod authz_groupfile
+ a2enmod authn_file
+
+ # This comes from mod_access:
+ a2enmod authz_host
fi
if [ -n "$2" ] && dpkg --compare-versions "$2" lt 2.2.0; then