summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStefan Fritsch <sf@sfritsch.de>2012-03-17 17:36:02 +0100
committerStefan Fritsch <sf@sfritsch.de>2012-03-17 17:36:02 +0100
commit734c2aa8c703b23fbed169079a6f42661dc73638 (patch)
tree3b0c1f4ad489749936747f49052d600b4e569697 /debian
parentaa091edd64762beb9e4041bfd66346961d0a6e81 (diff)
downloadapache2-734c2aa8c703b23fbed169079a6f42661dc73638.tar.gz
Enable mod_filter on upgrade, note TODOs
Diffstat (limited to 'debian')
-rw-r--r--debian/apache2.postinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/apache2.postinst b/debian/apache2.postinst
index 5521bdf2..e428fe13 100644
--- a/debian/apache2.postinst
+++ b/debian/apache2.postinst
@@ -195,8 +195,9 @@ enable_default_mpm()
# demands it.
enable_default_modules()
{
+ # XXX different sets of modules depending on upgrade/new-install !!!
if is_fresh_install $@ || we_are_upgrading_from_squeeze $@; then
- for module in authz_host alias cgi dir autoindex mime negotiation ; do
+ for module in authz_host alias filter cgi dir autoindex mime negotiation ; do
a2enmod -q $module
done
fi
@@ -336,6 +337,7 @@ migrate_data()
guess_access_compat()
{
+ # XXX problematic with htaccess files -> enable always?
if we_are_upgrading_from_squeeze $@ ; then
CONFS=""
if [ -f /etc/apache2/apache2.conf ] ; then