tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <billwbar...@verizon.net>
Subject Re: IP-based virtual hosting with Tomcat(6)
Date Thu, 30 Jul 2009 02:21:49 GMT

<uma_rk@comcast.net> wrote in message 
news:2139500381.6699651248905929000.JavaMail.root@sz0016a.emeryville.ca.mail.comcast.net...
>All the vHosts are to be situated on the same server.
>The server may be addressed using any loopback address
>or any non-loopback addressed configured on the NICs of the
>server.
>
>Hence I have the mapping
>   127.0.0.9 -> vhost1
>   127.0.0.10 -> vhost 2
>
>Let's say that a request arrives at address 10.1.1.1 (configured
>as an external address of this server).
>
>Which vHost would serve this request?

With the default Connector configuration, whichever vHost matches the Host: 
header sent by the client.  If useIPVHosts=true in the Connector, whichever 
vHost matches the DNS name of the address of the IP address that the request 
was recieved on.



>/U


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message