Apache2 VirtualHost overlaps ?

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

declanmullen
Posts: 21
Joined: Sun Feb 17, 2008 12:32 am
Location: Melbourne, Australia

Apache2 VirtualHost overlaps ?

Postby declanmullen » Sat May 24, 2008 9:11 am

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 ?

Sessl

Postby Sessl » Fri Jun 27, 2008 4:34 am

I've got the same problem .. :cry:

declanmullen
Posts: 21
Joined: Sun Feb 17, 2008 12:32 am
Location: Melbourne, Australia

Postby declanmullen » Fri Jun 27, 2008 5:33 am

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".


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests