Hi,
costin implemented the fix but omitted a critical space in the code. Here is
the latest diff
***
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java
2001/05/27 23:11:07 1.10
---
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java
2001/05/29 01:28:03
***************
*** 777,783 ****
path+" context");
mod_jk.println("#");
mod_jk.println("JkMount " + path +
! "/*j_security_check" +
JkMount[jkConnector]);
--- 777,783 ----
path+" context");
mod_jk.println("#");
mod_jk.println("JkMount " + path +
! "/*j_security_check " +
JkMount[jkConnector]);
Need a space after j_security_check otherwise it'll say something like
JkMount /admin/*j_security_checkajp13
in the conf-auto file.
-Mike
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 27, 2001 4:11 PM
Subject: cvs commit:
jakarta-tomcat/src/share/org/apache/tomcat/modules/config ApacheConfig.java
> costin 01/05/27 16:11:08
>
> Modified: src/share/org/apache/tomcat/modules/config
ApacheConfig.java
> Log:
> Fix from Michael Jennings for form-based login in apache
> The new connector will probably provide a better solution in ajp14, but
> this is a good fix we can do now.
>
> Submitted by: <[EMAIL PROTECTED]>
>
> Revision Changes Path
> 1.10 +10 -2
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheConfig.java
>
> Index: ApacheConfig.java
> ===================================================================
> RCS file:
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/ApacheCo
nfig.java,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -r1.9 -r1.10
> --- ApacheConfig.java 2001/03/14 07:29:45 1.9
> +++ ApacheConfig.java 2001/05/27 23:11:07 1.10
> @@ -1,4 +1,4 @@
> -/* $Id: ApacheConfig.java,v 1.9 2001/03/14 07:29:45 larryi Exp $
> +/* $Id: ApacheConfig.java,v 1.10 2001/05/27 23:11:07 costin Exp $
> * ====================================================================
> *
> * The Apache Software License, Version 1.1
> @@ -112,7 +112,7 @@
> <p>
> @author Costin Manolache
> @author Mel Martinez
> - @version $Revision: 1.9 $ $Date: 2001/03/14 07:29:45 $
> + @version $Revision: 1.10 $ $Date: 2001/05/27 23:11:07 $
> */
> public class ApacheConfig extends BaseInterceptor {
>
> @@ -772,6 +772,14 @@
> mod_jk.println("#");
> mod_jk.println("JkMount " + path +"/servlet/* " +
JkMount[jkConnector]);
> mod_jk.println("JkMount " + path +"/*.jsp " +
JkMount[jkConnector]);
> + mod_jk.println("# The following line mounts the " +
> + "form-based authenticator for the "+
> + path+" context");
> + mod_jk.println("#");
> + mod_jk.println("JkMount " + path +
> + "/*j_security_check" +
> + JkMount[jkConnector]);
> +
>
>
> // Deny serving any files from WEB-INF
>
>
>
>