Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@apache.org Received: (qmail 54526 invoked from network); 3 Feb 2003 23:13:06 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 3 Feb 2003 23:13:06 -0000 Received: (qmail 11113 invoked by uid 97); 3 Feb 2003 23:14:39 -0000 Delivered-To: qmlist-jakarta-archive-turbine-user@nagoya.betaversion.org Received: (qmail 11104 invoked from network); 3 Feb 2003 23:14:39 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 3 Feb 2003 23:14:39 -0000 Received: (qmail 51874 invoked by uid 500); 3 Feb 2003 23:12:29 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine Users List" Reply-To: "Turbine Users List" Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 51805 invoked from network); 3 Feb 2003 23:12:28 -0000 Received: from unknown (HELO thebe.your-site.com) (140.186.45.30) by daedalus.apache.org with SMTP; 3 Feb 2003 23:12:28 -0000 Received: from xenom (ip68-4-0-92.pv.oc.cox.net [68.4.0.92]) by thebe.your-site.com (Postfix) with ESMTP id 04D24244CB9 for ; Mon, 3 Feb 2003 18:12:33 -0500 (EST) Message-ID: <006301c2cbd9$bddd64a0$6601a8c0@xenom> From: "Derick Fernando" To: "Turbine Users List" References: <0C072E7CC947D511AC9600A0CC734120885E12@XEON400> Subject: Re: Moving Turbine app to root tomcat context Date: Mon, 3 Feb 2003 15:12:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, Using such a mapping will make the servlet serve all static content as well. In resin you could do ^/$, but URL-regexp is not in the servlet spec so it wont be in tomcat. Jsp redirect seems like an easy enough option. Derick ----- Original Message ----- From: "Lester Ward" To: "'Turbine Users List'" Sent: Monday, February 03, 2003 2:29 PM Subject: RE: Moving Turbine app to root tomcat context > > From: peter riegersperger [mailto:rick@subnet.at] > > On Monday 03 February 2003 22:28, Fred Gerson wrote: > > > I'd like to access my turbine app via a root URL with Tomcat. > > [...] > > > > according to the discussions in the list-archive, there are > > just two ways: > > 1. write a small redirect-jsp and put it in your webapp-directory. > > 2. use apache in front of tomcat and use mod_rewrite to > > rewrite your URLs. > > Um... can't you just add a mapping into your web.xml file? That's what it is > there for. Should look something like this: > > > myapp > org.apache.turbine.Turbine > > > myapp > /* > > > This works in most app servers. I don't use Tomcat, though, so I'm not sure. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: turbine-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-user-help@jakarta.apache.org