https://issues.apache.org/bugzilla/show_bug.cgi?id=55220
Bug ID: 55220 Summary: Tomcat adding trailing slash when directory exists Product: Tomcat 7 Version: 7.0.41 Hardware: PC OS: Linux Status: NEW Severity: blocker Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: japgo...@gmail.com Hello. I have a Scala Lift application, packaged as a WAR, that expands to the following structure: foo.html foo/star.html WEB-INF/web.xml WEB-INF/classes/... ... The servlet matches against /foo and /foo/xxx differently. If /foo is matched it loads the foo.html resource and transforms it. If /foo/(anything-or-nothing) is matched, it loads the foo/star.html resource and transforms it. The problem is Tomcat is seeing that a foo directory exists and redirecting /foo to /foo/ which is breaking Lift's routing rules. I can confirm this by renaming the directory (which fixes Tomcat redirecting but then breaks the app). Is there a way to tell Tomcat that it's ok, the servlet knows how to process /foo without a trailing slash and can be trusted to do so? Over 2 hours of searching and head-scratching has yielded a 'no' so far, hence this bug. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org