tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Parker <mp...@voyanttech.com>
Subject Re: [PATCH] forward instead of redirect for welcome files
Date Sat, 04 Jan 2003 00:23:45 GMT
On Fri, 2003-01-03 at 17:14, Jon Scott Stevens wrote:
> on 2003/1/3 4:03 PM, "Matt Parker" <mpark@voyanttech.com> wrote:
> 
> > I'd like to suggest that catalina perform a forward, rather than a
> > redirect, for requests that end with '/'. With a redirect, special
> > configuration is necessary for proxy servers to work correctly. Also, a
> > forward doesn't require an additional round trip to the client--a
> > redirect must get back to the client and the client then issues a new
> > request. I've tested this under Linux. Thanks!
> > 
> > Matt
> 
> That goes against the behavior of most HTTP servers, including Apache HTTPd.
> 
> -jon
> 

It appears that Apache returns 301 only when there isn't a trailing
slash. When there is a trailing slash, it returns a 200.

Matt



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message