Fixing this requires mucking with the core of Tomcat, which I find scary. Do we have any regression tests I can use to see if my changes have broken anything? Or should I just commit the changes when they are ready, and hope someone will notice any bugs before we release?
I'm asking because I would hate to be the cause of a totally messed up release... Thanks, Dan Dan Sandberg wrote: > Hi Remy. > > I filed a bug report about this a week ago at: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9559 ( which was > marked invalid ) > > Apparently this is a long-standing issue, as I found the following bug > ( marked invalid ): > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=456 > > I hope to submit a patch for it within a week. I may also fix the > following welcome-related bugs: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9016 > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8752 > > -Dan > > remy.menetrieux wrote: > >> Hello, >> >> When browsers request my url containing a filename, Tomcat does not >> internally redirect this request, it sends a HTTP 302 redirect. >> >> How can we configure and patch Tomcat to disable this feature ? >> >> Thx for any help. >> >> >> Here is what we get : >> >> GET / HTTP/1.0 >> host: www.SiteName.com >> >> HTTP/1.1 302 Moved Temporarily >> Content-Type: text/html >> Date: Tue, 28 May 2002 10:34:13 GMT >> Location: http://www.SiteName.com/index.htm >> Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector) >> Connection: close >> >> <html><head><title>Apache Tomcat/4.0.1 - Error >> report</title><STYLE><!--H1{font-family : >> sans-serif,Arial,Tahoma;color : >> white;background-color : #0086b2;} BODY{font-family : >> sans-serif,Arial,Tahoma;color : black;background-color : white;} >> B{color : >> white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> >> </head><body><h1>Apache Tomcat/4.0.1 - HTTP Status 302 - Moved >> Temporarily</h1><HR size="1" noshade><p><b>type</b> Status >> report</p><p><b>message</b> <u>Moved >> Temporarily</u></p><p><b>description</b> <u>The requested resource >> (Moved Temporarily) has moved temporarily to a new location.</u></p><HR >> size="1" noshade></body></html> >> >> >> >> >> >> >> >> > > > > > -- > 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]>