Page 1 of 1

Apache2 VirtualHost overlaps ?

Posted: Sat May 24, 2008 9:11 am
by declanmullen
I've just installed scalix 11.4 on Debian Etch as per http://www.scalix.com/wiki/index.php?title=Manual_Installation_Debian_Etch.

When apache starts up I get the below overlap error :
Starting web server (apache2)...[Sat May 24 23:19:09 2008] [warn] VirtualHost jackv1:80 overlaps with VirtualHost jackv1:80, the first has precedence, perhaps you need a NameVirtualHost directive


This is because my default apache2 install has both the "proxy_ajp" and "jk" modules enabled, and that is causing "/etc/apache2/conf.d/scalix-tomcat-connector.conf" to include both "/etc/opt/scalix-tomcat/connector/ajp/instance-jackv1.conf" and "/etc/opt/scalix-tomcat/connector/jk/instance-jackv1.conf", both of which have the same "<VirtualHost jackv1:80>" directive, hence causing the overlap error.

Is this a known issue, or did I mess up on the install ? What's the recommended fix ?

Posted: Fri Jun 27, 2008 4:34 am
by Sessl
I've got the same problem .. :cry:

Posted: Fri Jun 27, 2008 5:33 am
by declanmullen
I disabled "proxy_ajp" (by removing "/etc/apache2/mods-enabled/proxy_ajp.load"). Subsequently I've been told that it would have been better to have instead disable "jk" as "proxy_ajp" is a more modern alternative to "jk".