tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jennings" <>
Subject Does anyone see anything wrong with this fix?
Date Thu, 01 Nov 2001 17:34:38 GMT
As far as I can tell, the following modification to the class will
enable form-based authentication to work for people using mod_jk.conf-auto
with Apache.

mod_jk needs to be told to handle requests of the form

since a login.jsp page (for form-based authentication) may exist at
"/webapproot/somedir/login.jsp" and may specify "j_security_check"
as the target of a form submission. In order for the form-based authentication
machinery to work, it needs to get the POST request that is going to
which means that pattern has to be present in the mod_jk.conf-auto

ie: the following line must be in the mod_jk configuration file:
JkMount /webapproot/*j_security_check ajp12

Does anyone see any potential problems with this?

-Mike Jennings

Index: jakarta-tomcat/src/share/org/apache/tomcat/task/
RCS file: /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/task/Attic/,v
retrieving revision
diff -r1.12.2.2
>         mod_jk.println("JkMount /*j_security_check ajp12");
>       mod_jk.println("JkMount " + path +"/*j_security_check ajp12");

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message