From 682113892a40cb99d108166b78e7aabcbace38a0 Mon Sep 17 00:00:00 2001 From: bcambl Date: Sun, 5 Jun 2016 15:24:33 -0600 Subject: [PATCH] enable SELinux boolean for httpd server side includes (SSI) --- automated install/basic-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 1006bd10..6f837df0 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -800,6 +800,11 @@ configureSelinux() { else echo " already installed!" fi + printf "::: Enabling httpd server side includes (SSI).. " + $SUDO setsebool -P httpd_ssi_exec on + if [ $? -eq 0 ]; then + echo -n "Success\n" + fi printf ":::\tCompiling Pi-Hole SELinux policy..\n" $SUDO checkmodule -M -m -o /etc/pihole/pihole.mod /etc/.pihole/advanced/selinux/pihole.te $SUDO semodule_package -o /etc/pihole/pihole.pp -m /etc/pihole/pihole.mod