diff --git a/install/alternc.install b/install/alternc.install index f4784a0d..5e203816 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -180,25 +180,9 @@ touch /var/run/alternc/refresh_slave touch /var/alternc/apacheconf/override_php.conf # Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias, but apache knows this ... ) # well, apache-modconf works like crap in a shell script ... -# apache-modconf apache enable mod_vhost_alias quiet /etc/apache/modules.conf - rm /etc/apache/modules.conf.alternc-dist -fi -if ! grep -q "php5_module" /etc/apache/modules.conf -then - echo "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so" >>/etc/apache/modules.conf -fi -if ! grep -q "php5_module" /etc/apache-ssl/modules.conf -then - echo "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so" >>/etc/apache-ssl/modules.conf -fi -# We update ucf, that's bad isn't it ? ;) -ucf /etc/apache/modules.conf /etc/apache/modules.conf -ucf /etc/apache-ssl/modules.conf /etc/apache-ssl/modules.conf +apache-modconf apache enable mod_vhost_alias quiet