A partir d'Apache 2.4 il faut déconfigurer avec a2 disconf
This commit is contained in:
parent
bae2649740
commit
41621c8117
|
@ -81,9 +81,17 @@ EOF
|
||||||
echo " Done"
|
echo " Done"
|
||||||
|
|
||||||
echo "Deconfiguring javascript-common alias"
|
echo "Deconfiguring javascript-common alias"
|
||||||
rm -f /etc/apache2/conf.d/javascript-common.conf
|
if [ -f /etc/apache2/conf.d/javascript-common.conf ]; then
|
||||||
|
rm -f /etc/apache2/conf.d/javascript-common.conf
|
||||||
|
fi
|
||||||
|
if [ -f /etc/apache2/conf-available/javascript-common.conf ] ; then
|
||||||
|
a2disconf javascript-common.conf
|
||||||
|
service apache2 reload
|
||||||
|
fi
|
||||||
# just in case
|
# just in case
|
||||||
sed -i -e "s/^Alias \/javascript/# Do not uncomment, commented by AlternC to prevent a global alias\n#Alias \/javascript/" /etc/javascript-common/javascript-common.conf
|
if [ -f /etc/javascript-common/javascript-common.conf ]; then
|
||||||
|
sed -i -e "s/^Alias \/javascript/# Do not uncomment, commented by AlternC to prevent a global alias\n#Alias \/javascript/" /etc/javascript-common/javascript-common.conf
|
||||||
|
fi
|
||||||
echo " Done"
|
echo " Done"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue