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: virtualhost based root context??
Date Mon, 09 Dec 2002 14:52:34 GMT
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:tsandor@rndsoft.com] 
> Sent: 9. desember 2002 10:01
> To: tomcat-user@jakarta.apache.org
> 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-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 

--
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