diff --git a/etc/alternc/apache2.conf b/etc/alternc/apache2.conf index 47ef014c..fa8ef09a 100644 --- a/etc/alternc/apache2.conf +++ b/etc/alternc/apache2.conf @@ -40,7 +40,7 @@ Alias /phpmyadmin /usr/share/phpmyadmin AllowOverride AuthConfig FileInfo Limit Options Indexes - Options Indexes Includes FollowSymLinks MultiViews + Options Indexes Includes -FollowSymLinks MultiViews Order allow,deny Allow from all php_admin_flag safe_mode_gid on diff --git a/src/update_domains.sh b/src/update_domains.sh index 001facc5..29d0e1d7 100644 --- a/src/update_domains.sh +++ b/src/update_domains.sh @@ -20,7 +20,7 @@ LOCK_FILE="$ALTERNC_LOC/bureau/cron.lock" OLDIFS="$IFS" NEWIFS=" " RELOAD_ZONES="" -RELOAD_WEB="" +RELOAD_WEB=false B="ยตยตยงยง" # Strange letters to make split in query # Somes check before start operations @@ -111,7 +111,7 @@ for dom in $( mysql_query "select domaine from domaines where dns_action = 'DELE done -if [ ! -z $RELOAD_WEB ] ; then +if [ $RELOAD_WEB ] ; then RELOAD_ZONES="$RELOAD_ZONES apache" # Concat the apaches files