From: Alexander Wirt Date: Wed, 23 Jul 2014 16:57:33 +0000 (+0200) Subject: Debian: Fix loading apache cgi modules X-Git-Tag: v2.0.2~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7b6544e453c5a1e4d788c93a69c2ba02515eedf;p=icinga2 Debian: Fix loading apache cgi modules fixes #6501 Signed-off-by: Michael Friedrich --- diff --git a/debian/icinga2-classicui.postinst b/debian/icinga2-classicui.postinst index 67636998c..57efaf2bd 100644 --- a/debian/icinga2-classicui.postinst +++ b/debian/icinga2-classicui.postinst @@ -56,10 +56,12 @@ case "$1" in if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then . /usr/share/apache2/apache2-maintscript-helper + apache2_invoke enmod cgi apache2_invoke enconf icinga2-classicui # OLD methods for Apache < 2.4 elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then + a2enmod cgi # create symlink if not existing [ -f /etc/apache2/conf.d/icinga2-classicui.conf ] || ln -vs ../../icinga2/classicui/apache2.conf /etc/apache2/conf.d/icinga2-classicui.conf