You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by 01...@student.uhasselt.be on 2005/08/02 13:36:29 UTC
1 jakarta server + multiple ip's
Hello,
I'm configuring a tomcat-server and the server has multiple ip's. I would like
to setup virtual hosts based on the ip-address. I wouldn't like running
multiple servers.
situation: one networkdevice (eth0) has 2 ip's. I would like to setup virtual
hosts based on the ip's.
What I've done: I have setup aliases for the possible dns-names of the second
virtual host (the possible names for one of the ip's). I have also added the ip
itself to the aliases link.
However, I don't know how tomcat filter based on these names. The ip-alias seems
to work, so I'm wondering what tomcat is comparing it with.
I suppose Tomcat requests the dns-name that corresponds to that id. So, I'm
wondering if this setup filters on ip?
thanks,
Michel
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: 1 jakarta server + multiple ip's
Posted by delbd <de...@oma.be>.
Virtual hosting is done based on the host: header send by browser to the server, as
part of the request, based on HTTP/1.1 protocol.
Le Mardi 2 Août 2005 13:36, 0119030@student.uhasselt.be a écrit :
> Hello,
>
> I'm configuring a tomcat-server and the server has multiple ip's. I would like
> to setup virtual hosts based on the ip-address. I wouldn't like running
> multiple servers.
>
> situation: one networkdevice (eth0) has 2 ip's. I would like to setup virtual
> hosts based on the ip's.
>
> What I've done: I have setup aliases for the possible dns-names of the second
> virtual host (the possible names for one of the ip's). I have also added the ip
> itself to the aliases link.
> However, I don't know how tomcat filter based on these names. The ip-alias seems
> to work, so I'm wondering what tomcat is comparing it with.
>
> I suppose Tomcat requests the dns-name that corresponds to that id. So, I'm
> wondering if this setup filters on ip?
>
> thanks,
>
> Michel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Is there life after /sbin/halt -p?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org