Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 2485 invoked from network); 6 Jan 2003 22:29:17 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 6 Jan 2003 22:29:17 -0000 Received: (qmail 2175 invoked by uid 97); 6 Jan 2003 22:30:33 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 2159 invoked by uid 97); 6 Jan 2003 22:30:33 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 2147 invoked by uid 98); 6 Jan 2003 22:30:32 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-dev@jakarta.apache.org Path: not-for-mail From: Costin Manolache Subject: Re: [PATCH] forward instead of redirect for welcome files Date: Mon, 06 Jan 2003 14:28:47 -0800 Lines: 19 Message-ID: References: <1041638607.21193.47.camel@localhost.localdomain> <3E19D583.5030806@gefionsoftware.com> <1041881792.21193.116.camel@localhost.localdomain> <3E19F89A.4000500@gefionsoftware.com> <1041891830.21188.154.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.1 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Matt Parker wrote: > On Mon, 2003-01-06 at 14:43, Hans Bergsten wrote: >> Okay, that's different. Maybe I misread your patch, but to me it looked >> as if you changed the behavior when there's no trailing slash. > > Actually my patch is forwarding under both circumstances, but according > to SRV.9.10 of Servlet 2.4, this is actually correct (phew! :) Forwarding if there is no ending "/" doesn't seem right. I'm very sure anchors will be broken. It may be a good idea to include a modified patch that makes this optional - but IMO redirect should remain the default. But please verify that anchors work, including cases where the welcome file is in another directory. Costin -- To unsubscribe, e-mail: For additional commands, e-mail: