tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: IP-based virtual hosting with Tomcat(6)
Date Wed, 29 Jul 2009 19:45:51 GMT
uma_rk@comcast.net wrote:
> I am using Tomcat6.0.18 on RHEL5.
> 
> I would like to set up IP-based virtual hosting using Tomcat alone ( as opposed
> to using Apache front-end).
> 
> The documentation (http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html)
> as well as examples of it seem to illustrate the use of name-based virtual hosting:
>    <Engine name="Catalina" defaultHost="ren">
>     <Host name="ren"  appBase="renapps"/>
>     <Host name="stimpy" appBase="stimpyapps"/>
>   </Engine>
> 
> 
> I would like to avoid using name-based vhosts to sidestep the attendant
> SSL issues.If I want to to run virtual hosts attached to distinct network aliases (eth0.0
= 127.0.0.9,
> eth0.1 = 127.0.0.10) on the same server how do I configure the Host entries
> in the Engine? Ca nyou point me to the complete server.xml (or the Engine) configuration?

Just use ip addresses rather than DNS names for the name element of the
Host element. Of course, that assumes that your users will be connecting
using IP addresses rather than host names.

Mark




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


Mime
View raw message