You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Reynir Hübner <re...@hugsmidjan.is> on 2002/06/26 17:27:09 UTC

RE: Virtual site

open : 

/tomcat/conf/server.xml


create new host lines : 
 <Host name="www.mysite.com" debug="0" >
   <Context path="" docBase="webapps\site1" reloadable="true"/>
 </Host>
 <Host name="www.mysite2.com" debug="0" >
   <Context path="" docBase="webapps\site1" reloadable="true"/>
 </Host>

save the file, and restart tomcat.


but this means obviously that the computer must know it self as these two hosts.

hope it helps
-reynir@hugsmidjan.is

> -----Original Message-----
> From: eric aboudaram [mailto:eric.aboudaram@wanadoo.fr]
> Sent: 26. júní 2002 15:32
> To: tomcat User
> Subject: Virtual site
> 
> 
> I search how to configure tomcat v 4.0.3 under win2k
> 
> for virtual hosting 
> 
> example :
> 
> www.mysite.com = in directory of tomcat : webapps\site1
> www.mysite2.com = in directory of tomcat : webapps\site2
> 
> thanks
> 
> 
> ---
> Ce message Envoi est certifié sans virus connu.
> Protégé par l'antivirus AVG Deluxe.
> Version: 6.0.372 / Base de données virus: 207 - Date: 20/06/2002
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>