You'll need to provide: - The httpd proxy configuration - the context path - the servlet mapping(s) - the code that generates the problematic link - the URL of the request that triggers the problem
Mark On 20/12/2022 07:37, alik alikov wrote:
Hello I have some problems with trailing slashes. When I try to get to the page for example: "about/page" tomcat understands that it is necessary to add a slash and adds it, however, he also adds the name of the root folder to this, that is, the url "lundase/about/page/" turns out, and any requests to our server via apache are proxied with the addition of "lundase", so it turns out that we are accessing the application on request "lundase/lundase/about/page/" which results in a 404 status. I googled it and found two properties: context.setMapperContextRootRedirectEnabled(false) context.setMapperDirectoryRedirectEnabled(false) And tryed to play with them, however, it's not resolve my problem please can you help me with it? .
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org