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 18:36:20 UTC
RE: Virtual site : eric aboudaram
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>