Correction d'un bug et mise en place d'une securitée sur les symlinks

This commit is contained in:
Alan Garcia 2011-03-13 18:40:31 +00:00
parent d43f7fdf9d
commit aeb01bef50
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /var/alternc/html>
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

View File

@ -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