diff --git a/etc/alternc/apache.conf b/etc/alternc/apache.conf index 72005caa..7db1a2ff 100644 --- a/etc/alternc/apache.conf +++ b/etc/alternc/apache.conf @@ -1,4 +1,5 @@ -LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so +# This module is loaded in /etc/apache/modules, and enabled by apache-modconf +# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/ diff --git a/install/alternc.install b/install/alternc.install index 37b9be48..675fadbc 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -178,6 +178,8 @@ touch /var/run/alternc/refresh_slave # Apache will not start without this file touch /var/alternc/apacheconf/override_php.conf +# Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias, but apache knows this ... ) +apache-modconf apache enable mod_vhost_alias # Copy postfix *_checks if they do not exist for file in body_checks header_checks; do