You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Lukas Bradley <lu...@somnia.com> on 2003/05/05 00:41:59 UTC

DefaultContext and ROOT

How do I make the DefaultContext (or any other Context with path="/")
point to a directory different than inside the ./webapps/ROOT directory?
 
I've tried creating a context with path="/", but I am told one already
exists, even though one does not in the server.xml.
 
Lukas
 

Re: DefaultContext and ROOT

Posted by Roberto Nunnari <nu...@die.supsi.ch>.
<Context path="" docBase="yourContext" debug="0"/>

hope this helps.


Lukas Bradley wrote:
> How do I make the DefaultContext (or any other Context with path="/")
> point to a directory different than inside the ./webapps/ROOT directory?
>  
> I've tried creating a context with path="/", but I am told one already
> exists, even though one does not in the server.xml.
>  
> Lukas
>  
> 


-- 
               Roberto Nunnari -software engineer-
                 mailto:nunnari@die.supsi.ch
  Scuola Universitaria Professionale della Svizzera Italiana
            Dipartimento di Informatica e Elettronica
                   http://www.die.supsi.ch
  SUPSI-DIE
  Via Cantonale                        tel: +41-91-6108561
  6928 Manno                 """       fax: +41-91-6108570
  Switzerland               (o o)
=======================oOO==(_)==OOo========================


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org