diff --git a/install/alternc.install b/install/alternc.install index 25359b7c..86ac1af6 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -192,7 +192,7 @@ then echo "LoadModule ${php}_module /usr/lib/apache/1.3/lib${php}.so" | append_no_dupe /etc/apache-ssl/modules.conf SERVICES="$SERVICES apache apache-ssl" fi -if [ -x /usr/sbin/apache2 ] +if [ -x /usr/sbin/apache2 ] && ! ( [ -L /etc/apache2/mods-enabled/vhost_alias.load ] && [ -L /etc/apache2/mods-enabled/$php.load ] ) then a2enmod vhost_alias a2enmod $php diff --git a/install/dopo.sh b/install/dopo.sh index a5cd64ef..9181ec01 100755 --- a/install/dopo.sh +++ b/install/dopo.sh @@ -39,7 +39,7 @@ dolangs() { find /var/alternc/bureau/locales -maxdepth 1 -mindepth 1 -type d -name "*_*" | dolangs # Relance les apache pour qu'ils vident leur cache GetText -invoke-rc.d apache restart -invoke-rc.d apache-ssl restart +# invoke-rc.d apache restart +# invoke-rc.d apache-ssl restart exit 0