You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jerry QU <jq...@baijia.com> on 2001/07/17 00:26:19 UTC

how to set virtual host for stand-alone Tomcat?

Hi All,

how to set virtual hosts for stand-alone Tomcat?

does it have to be cooperate with Apache to use virtual hosts?

TIA

Jerry



Re: how to set virtual host for stand-alone Tomcat?

Posted by Dmitri Colebatch <di...@bigpond.net.au>.
Set them up the same as if you were using Apache.  Use the <host> wrapper
around your context.  From memory there's a simple example of syntax in
the default server.xml.

cheers
dim

On Tue, 17 Jul 2001, Jerry QU wrote:

> Hi All,
> 
> how to set virtual hosts for stand-alone Tomcat?
> 
> does it have to be cooperate with Apache to use virtual hosts?
> 
> TIA
> 
> Jerry
> 
> 
>