If I understand you correctly you want create a virtual host definition in server.xml

It's done this way : 

<Host name="www.something.com" debug="0" > 
  <Context path="" docBase="C:\webappbase\" reloadable="true"/>
</Host>

Hope it helps
-reynir




> -----Original Message-----
> From: Thomas Sandor [mailto:[EMAIL PROTECTED]] 
> Sent: 9. desember 2002 10:01
> To: [EMAIL PROTECTED]
> Subject: virtualhost based root context??
> 
> 
> hi all,
> 
> does anyone got an idea, how to set up the ROOT context for 
> each of my virtualhost? like in apache DocumentRoot, so when 
> invoking the URL, each "/" goes to a specified HTML 
> directory. But in case of a dynamic app server I have only 
> /xyz/ contexts, but when invoking a domain e.g.: somewhat.com 
> and I redirect it to somewhat.com/somewhat looks awfull.
> 
> so I don't know if any app server supports a virtualhost 
> based context distribution, so I can tell which context to 
> use for "/"?
> 
> any help is warmly welcomed.
> 
> cheers,
> Thomas
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to