tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Reeder" <tra...@xabre.com>
Subject RE: Virtual Hosts
Date Fri, 12 May 2000 19:09:52 GMT
This isn't in place yet though is it?

Travis

-----Original Message-----
From: Bob Tanner [mailto:tanner@real-time.com]
Sent: Friday, May 12, 2000 12:46 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Virtual Hosts


Quoting Travis Reeder (travis@xabre.com):
> Is it possible to set up virtual hosts with Tomcat?

In the latest cvs snapshot I see comments that Tomcat will actually support
real virtual hosting instead of running 1 instance of Tomcat for each
virtual
host.

conf/server.xml

        <!-- Virtual host example - just use numeric IP instead of localhost
             and you should see /examples as the root context and root as
examples.
             Same docBase is used, just different mappings :-)        -->
        <Host name="127.0.0.1" >
           <Context path="" docBase="webapps/examples" />
           <Context path="/examples" docBase="webapps/ROOT" />
        </Host>


--
Bob Tanner <tanner@real-time.com>       | Phone : (952)943-8700
http://www.mn-linux.org                 | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message