-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bill,

On 7/29/2009 10:21 PM, Bill Barker wrote:
> <uma...@comcast.net> wrote in message 
> news:2139500381.6699651248905929000.javamail.r...@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.

I think you missed Jeffrey's sample configuration, which bound
<Connectors> to specific IP addresses. In this case, there is no default
so a connection to 10.1.1.1 will be refused (unless some other server is
listening there).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkpxwMAACgkQ9CaO5/Lv0PAS3wCfc6ofA19JPr/pfjxO5sYoNJgY
jrgAoMGPDUzOhoJBpGNjm5u7h7gn795S
=a5qO
-----END PGP SIGNATURE-----

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

Reply via email to