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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> 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:[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]>