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:
parent
2e74652984
commit
2a93b7e227
|
@ -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/
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue