DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5958>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5958 Wrong mod_jk.conf for path pattern Summary: Wrong mod_jk.conf for path pattern Product: Tomcat 3 Version: 3.3 Final Platform: PC OS/Version: Linux Status: RESOLVED Severity: Normal Priority: Other Component: Webapps AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following has been observed under Tomcat 3.3a, the mod_jk.so for 3.3, and Apache 1.3.20: If the web.xml file contains a path pattern like <servlet-mapping> <servlet-name>MyServlet</servlet-name> <url-pattern>/baz/*</url-pattern> </servlet-mapping> the auto/mod_jk.conf generated by <ApacheConfig noRoot="true" forwardAll="false"/> contains the line JkMount /myContext/baz/* ajp13 Unfortunately this does not match the path /myConext/baz while it should so according to section 10.2.2 of the servlet 2.2 spec. Paths /myContext/baz/something are matched correctly. Workaround: Manually changing the line to JkMount /myContext/baz ajp13 or (if postprocessing the generated mod_jk.conf is not an option) adding another pattern for the same servlet to the web.xml (resulting in two JkMounts): <url-pattern>/baz</url-pattern> ------- Additional Comments From [EMAIL PROTECTED] 2002-02-03 20:46 ------- This was fixed a while back. The fix is present in the nightly 3.3.1-dev. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>