Hi, You need to define a Context element for your webapp whose path="" (the empty string, not "/", not null). And you need to remove or rename the ROOT webapp. The Context element's configuration reference page (http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html) contains more details.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Barnet Wagman [mailto:[EMAIL PROTECTED] >Sent: Saturday, May 15, 2004 12:55 PM >To: [EMAIL PROTECTED] >Subject: Changing the 'ROOT' webapp (newbie question) > >By default, when Tomcat gets a request for something like > >http://www.some_domain_name.com/ >or >http://www.some_domain_name.com > >it serves the file webapps/ROOT/index.jsp > >What is the preferred way of getting it return the index file of a >different wep app? I haven't found anything in the conf xml files, the >documentation, or the archives about this (which doesn't mean it isn't >there, just that I didn't see it). Of course I could just change the >contents of webapps/ROOT, but I suspect there's a better way. > > >Thanks, > >bw > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
