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
[EMAIL PROTECTED]






> -----Original Message-----
> From: eric aboudaram [mailto:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to