diff options
-rwxr-xr-x | admin/Sources/Services/opengnsys.init | 2 | ||||
-rwxr-xr-x | installer/opengnsys_installer.sh | 1 | ||||
-rw-r--r-- | server/etc/apache.conf.tmpl | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/admin/Sources/Services/opengnsys.init b/admin/Sources/Services/opengnsys.init index 863184f9..5a31aa78 100755 --- a/admin/Sources/Services/opengnsys.init +++ b/admin/Sources/Services/opengnsys.init @@ -112,6 +112,8 @@ arranca_demonios() { $FAILMSG exit $? fi + # Deshabilitar modo reforzado de SELinux. + [ -f /selinux/enforce ] && echo 0 > /selinux/enforce # Verificar permisos básicos. if [ "$(stat --printf="%A%G" $IMAGEDIR 2>/dev/null)" != "drwxrwxr-x$OPENGNSYSUSER" ]; then mkdir $IMAGEDIR 2>/dev/null diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index 6dd5405a..6dc85bbe 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -131,6 +131,7 @@ function autoConfigurePost() { [ -e $SAMBAINIT ] || SAMBAINIT=/etc/init.d/samba # Debian 6 [ -e $TFTPCFGDIR ] || TFTPCFGDIR=/srv/tftp # Debian 6 +[ -f /selinux/enforce ] && echo 0 > /selinux/enforce # SELinux permisivo } diff --git a/server/etc/apache.conf.tmpl b/server/etc/apache.conf.tmpl index 57ffb94e..ddf8cc97 100644 --- a/server/etc/apache.conf.tmpl +++ b/server/etc/apache.conf.tmpl @@ -2,6 +2,9 @@ Alias /opengnsys CONSOLEDIR +# Overrides default CentOS php.ini configuration. +php_value short_open_tag on + <Directory CONSOLEDIR> Options -Indexes FollowSymLinks DirectoryIndex index.php |