aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.postinst
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-08-21 22:01:33 +0200
committerPetter Reinholdtsen <pere@hungry.com>2014-08-21 22:01:41 +0200
commitc361ba3ec934982a7f25d7f7aa5157253cfd334c (patch)
treeaf631c43f893e25961725cde78bd02668f07c1a9 /debian/sitesummary.postinst
parent9eb764e6d8cee31452d5b57024850c850bb495b0 (diff)
downloadsitesummary-c361ba3ec934982a7f25d7f7aa5157253cfd334c.tar.gz
sitesummary-c361ba3ec934982a7f25d7f7aa5157253cfd334c.tar.bz2
sitesummary-c361ba3ec934982a7f25d7f7aa5157253cfd334c.tar.xz
Adjust Apache configuration.
Use 'Require all granted' instead of Order/Deny/Allow, and enable cgi.load module when installing the sitesummary server to get it working out of the box.
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r--debian/sitesummary.postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index 4a2ed69..a108559 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -46,6 +46,7 @@ case "$1" in
[ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enconf sitesummary.conf
+ apache2_invoke enmod cgi.load
fi
# Make sure the cgi script can write to the storage area