VirtualHost 127.0.0.1:0 overlaps with VirtualHost 127.0.0.1:0 ???
am 21.10.2004 09:52:35 von fritz-bayerHi,
I'm trying to bind apache to 127.0.0.1 80. I have managed this on my
local lan. Now I have a dedicated server and there I tried it as well.
Strangely it does not work. I get the following error messages:
[Thu Oct 21 09:39:57 2004] [warn] module mod_jk.c is already added,
skipping
[Thu Oct 21 09:39:57 2004] [warn] VirtualHost 127.0.0.1:0 overlaps
with VirtualHost 127.0.0.1:0, the first has precedence, perhaps you
need a NameVirtualHost directive
[Thu Oct 21 09:39:57 2004] [warn] VirtualHost 127.0.0.1:0 overlaps
with VirtualHost 127.0.0.1:0, the first has precedence, perhaps you
need a NameVirtualHost directive
[Thu Oct 21 09:39:57 2004] [warn] VirtualHost 127.0.0.1:0 overlaps
with VirtualHost 127.0.0.1:0, the first has precedence, perhaps you
need a NameVirtualHost directive
[Thu Oct 21 09:39:57 2004] [warn] VirtualHost 127.0.0.1:0 overlaps
with VirtualHost 127.0.0.1:0, the first has precedence, perhaps you
need a NameVirtualHost directive
Here are the important sections of my config file. I use a "Listen"
directive to bind to 127.0.0.1 and then I used virtual ip based
hosting:
# /etc/apache/http.conf
....
ServerName domainname.de
....
Listen 127.0.0.1:80
....
ServerName www.domainname.de
DocumentRoot /var/www/domainname/
ServerName test.domainname.de
JkMount /* ajp13
ServerName jboss4.domainname.de
JkMount /* ajp13
ServerName www.domain-name.de
DocumentRoot /var/www/domain-name/
ServerName www.another-hosted-domaintest.de
DocumentRoot /var/www/vaterschaftstest/