tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Udstrand" <mudstr...@CompleteIS.com>
Subject Re: Default Webapp
Date Fri, 24 May 2002 02:51:42 GMT

Something is amiss...  I tried making that change previously, and once again
with your suggestion.  When I change the docBase to "mysite", Tomcat returns
a 404 error when attempting to use www.mywebsite.net.  If I use
www.mywebsite.net/mysite it works fine....  Any ideas.


----- Original Message -----
From: "thorsten frank" <thorsten@liquidprotocol.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, May 23, 2002 9:43 PM
Subject: Re: Default Webapp


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


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