tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From delbd <de...@oma.be>
Subject Re: 1 jakarta server + multiple ip's
Date Tue, 02 Aug 2005 11:42:42 GMT
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


Mime
View raw message