tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: ip-based virtual hosting
Date Sun, 22 May 2005 01:41:15 GMT

"Hassan Schroeder" <hassan@webtuitive.com> wrote in message 
news:428F9706.6090302@webtuitive.com...
> Bill Barker wrote:
>
>>>I ... am interested in
>>>setting up ip-based virtual hosting in standalone Tomcat. Is that 
>>>possible?
>>
>> It will be possible in TC 5.5.10.  It's not possible in any of the 
>> currently released versions.
>
> ?! Could you explain, please?
>
> Because I've currently got several systems running what *I* think of
> as "IP-based virtual hosts" using TC 5.0.x and 5.5.x...
>

All TC versions <= 5.5.9 use the Host header on the Request to map the 
Request to a Host.  Starting with 5.5.10, it is possible to specify the 
attribute useIPVHosts="true" on the <Connector> element that will cause 
Tomcat to use request.getLocalName() to map the Request to a Host, 
independently of whatever the browser has sent for the Host header.

Granted, it was assumed that this option would be mostly useful to people 
using an AJP/1.3 Connector.  However, it will work with the standalone 
Connector as well.

> -- 
> Hassan Schroeder ----------------------------- hassan@webtuitive.com
> Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
>
>                           dream.  code. 




---------------------------------------------------------------------
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