In Tomcat 5.5.7 is there a way to disable the automatic redirect that
happens when a request matches a directory except for the trailing
slash? e.g. On my server the request "/boards" get redirected to
"/boards/" as there is a "boards" directory on the server.
 
The strange thing is the redirect seem to happen before any filters or
servlet are allowed to process the request. This is really annoying as I
have a filter that is expecting to see the "/boards" request not the
redirected "/boards/" request. This feels like a bug to me. Shouldn't
the redirect be initiated by the default servlet after any user
servlet/filters have processed the request?
 
There is a bug report for this but the comments are not helpful and it
seems to be related to the 5.0 code base.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32424
 
Oliver
 
 
 
 
 

Reply via email to