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 : eric aboudaram
Date Wed, 26 Jun 2002 16:36:20 GMT
hi eric aboudaram

I already replied to you on this subject.


here is the reply again. : 


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 have DNS for these two hosts.
Instructions on how to configure hosts is in http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html

again, 
hope it helps
-reynir@hugsmidjan.is






> -----Original Message-----
> From: eric aboudaram [mailto:eric.aboudaram@wanadoo.fr]
> Sent: 26. júní 2002 16:38
> To: Tomcat User List
> Subject: Fw: 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