Loading Apache vhost module thanks to apache-modconf, and not manually in /etc/alternc/apache.conf : The module is now loaded at the right place.

Fix the bug with apache aliases (/admin/sql, /webmail)
This commit is contained in:
Benjamin Sonntag 2007-05-11 08:12:43 +00:00
parent 2e74652984
commit 2a93b7e227
2 changed files with 4 additions and 1 deletions

View File

@ -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/ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/

View File

@ -178,6 +178,8 @@ touch /var/run/alternc/refresh_slave
# Apache will not start without this file # Apache will not start without this file
touch /var/alternc/apacheconf/override_php.conf 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 # Copy postfix *_checks if they do not exist
for file in body_checks header_checks; do for file in body_checks header_checks; do