From 254a294985ace96b7b231d914b6c8ad125e4df08 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 6 Jul 2018 22:58:08 +0200 Subject: [PATCH] install_httpd-2.4.sh: Uncomment 'LoadModule http2_module'. --- install_httpd-2.4.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install_httpd-2.4.sh b/install_httpd-2.4.sh index 79969a9..6a5eccb 100755 --- a/install_httpd-2.4.sh +++ b/install_httpd-2.4.sh @@ -2755,6 +2755,23 @@ for module in deflate_module dav_module dav_fs_module ; do done +## - Uncomment "LoadModule" for http2_module +## - +module=http2_module +echo "" >> ${_logdir}/main.log +echo "## - httpd.conf: Uncomment LoadModule $module.." >> ${_logdir}/main.log +echo "## -" >> ${_logdir}/main.log +echo "sed -i -r -e \"s/^\s*#\s*(LoadModule)(.*$module.*)$/\1\2/g\" $_httpdconf" >> ${_logdir}/main.log +echononl "\thttpd.conf: Uncomment LoadModule $module.." +sed -i -r -e "s/^\s*#\s*(LoadModule)(.*$module.*)$/\1\2/g" $_httpdconf >> ${_logdir}/main.log 2>&1 +if [ "$?" = "0" ]; then + echo_ok +else + echo_failed + warn "Including \"LoadModule $module\" failed.." +fi + + ## - Uncomment "LoadModule" for LDAP support ## - for module in authnz_ldap_module ldap_module ; do