Correction d'un bug et mise en place d'une securitée sur les symlinks
This commit is contained in:
parent
d43f7fdf9d
commit
aeb01bef50
|
@ -40,7 +40,7 @@ Alias /phpmyadmin /usr/share/phpmyadmin
|
||||||
|
|
||||||
<Directory /var/alternc/html>
|
<Directory /var/alternc/html>
|
||||||
AllowOverride AuthConfig FileInfo Limit Options Indexes
|
AllowOverride AuthConfig FileInfo Limit Options Indexes
|
||||||
Options Indexes Includes FollowSymLinks MultiViews
|
Options Indexes Includes -FollowSymLinks MultiViews
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Allow from all
|
Allow from all
|
||||||
php_admin_flag safe_mode_gid on
|
php_admin_flag safe_mode_gid on
|
||||||
|
|
|
@ -20,7 +20,7 @@ LOCK_FILE="$ALTERNC_LOC/bureau/cron.lock"
|
||||||
OLDIFS="$IFS"
|
OLDIFS="$IFS"
|
||||||
NEWIFS=" "
|
NEWIFS=" "
|
||||||
RELOAD_ZONES=""
|
RELOAD_ZONES=""
|
||||||
RELOAD_WEB=""
|
RELOAD_WEB=false
|
||||||
B="µµ§§" # Strange letters to make split in query
|
B="µµ§§" # Strange letters to make split in query
|
||||||
|
|
||||||
# Somes check before start operations
|
# Somes check before start operations
|
||||||
|
@ -111,7 +111,7 @@ for dom in $( mysql_query "select domaine from domaines where dns_action = 'DELE
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
if [ ! -z $RELOAD_WEB ] ; then
|
if [ $RELOAD_WEB ] ; then
|
||||||
RELOAD_ZONES="$RELOAD_ZONES apache"
|
RELOAD_ZONES="$RELOAD_ZONES apache"
|
||||||
|
|
||||||
# Concat the apaches files
|
# Concat the apaches files
|
||||||
|
|
Loading…
Reference in New Issue