tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thorsten frank <thors...@liquidprotocol.com>
Subject Re: Default Webapp
Date Fri, 24 May 2002 02:43:13 GMT
At 09:28 PM 23/05/2002 -0500, you wrote:
>Is there a way to set a default web app under Tomcat?

yes

>  For example, if I package a website in mysite.war, it is installed into 
> webapps/mysite.  In order to use this application, the user must use the 
> url www.mywebsite.net/mysite (assuming that your welcome file is 
> present).  I would like to configure Tomcat so that 'mysite' is the 
> default application so that the URL www.mywebsite.net presents the 
> welcome file present in the webapps/mysite directory.

in 'server.xml', add:

<Context path="" docBase="mysite"....

or

<Context path="" docBase="mysite.war"....

and then read the tomcat documentation


>Thanks.

no worries


thorsten frank


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