tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: Virtual site
Date Wed, 26 Jun 2002 15:27:09 GMT

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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message