Hello,
I have the following problem - when whitespace character (e.g %20) is added to the URL of a .jsp page, the Apache web server does not recognize that it is a URL pattern that is mounted to Tomcat worker (via JKMount directive of jk module) but instead finds JSP page on filesystem and serves its content as plain text!!!
relevant config:
JkMount /mywebapp/*.jsp tomcatworker
Of course, I can add
JkMount "/mywebapp/*.jsp " tomcatworker
and do similar for all whitespace characters, but do you know of a more elegant way to accomplish that either Apache removes trailing whitespace from URL (thus correctly interpreting it as a URL mounted to Tomcat worker) or preventing it from retrieving a file from filesystem if it is not an EXACT match?
Many thanks in advance.
I have the following problem - when whitespace character (e.g %20) is added to the URL of a .jsp page, the Apache web server does not recognize that it is a URL pattern that is mounted to Tomcat worker (via JKMount directive of jk module) but instead finds JSP page on filesystem and serves its content as plain text!!!
relevant config:
JkMount /mywebapp/*.jsp tomcatworker
Of course, I can add
JkMount "/mywebapp/*.jsp " tomcatworker
and do similar for all whitespace characters, but do you know of a more elegant way to accomplish that either Apache removes trailing whitespace from URL (thus correctly interpreting it as a URL mounted to Tomcat worker) or preventing it from retrieving a file from filesystem if it is not an EXACT match?
Many thanks in advance.