tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Saegesser <Marc.Saeges...@apropos.com>
Subject RE: Can someone commit this minor fix?
Date Thu, 01 Nov 2001 20:23:00 GMT
Mike,
[I tried sending this privately, but it bounced.]

I just got caught up on the rest of the messages in tomcat-dev and it looks
like this patch doesn't do what you expect.  Mod_jk doesen't handle
wildcards per se.  It only knows two kinds of mappings

JkMount /path/*

and

JkMount *.ext

The way code is written, doing JkMount /path/*j_security_check will actually
map all requests to /path/* to Tomcat.  Now, that isn't necessarily a bad
thing, and unless your application has lots of static data that would be
better served through Apache, I think its safer to route all requests to
resources inside the web application through Tomcat.  All of my applications
now just do a JkMount /app/* AJP13.


Marc Saegesser 

> -----Original Message-----
> From: Michael Jennings [mailto:mike@southgatesoftware.com]
> Sent: Thursday, November 01, 2001 2:08 PM
> To: Marc.Saegesser@apropos.com
> Subject: Re: Can someone commit this minor fix?
> 
> 
> Hi Marc,
> The diff to use is
> 
> Index: 
> jakarta-tomcat/src/share/org/apache/tomcat/task/ApacheConfig.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/tas
> k/Attic/Apache
> Config.java,v
> retrieving revision 1.12.2.2
> diff -r1.12.2.2 ApacheConfig.java
> 202a203
> >         mod_jk.println("JkMount /*j_security_check ajp12");
> 289a291
> >       mod_jk.println("JkMount " + path +"/*j_security_check ajp12");
> 
> 
> The other one you have is missing the "/" before *j_security_check
> 
> Thanks again!
> -Mike
> 
> ----- Original Message -----
> From: "Marc Saegesser" <Marc.Saegesser@apropos.com>
> To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
> Sent: Thursday, November 01, 2001 10:54 AM
> Subject: RE: Can someone commit this minor fix?
> 
> 
> > I'll get into Tomcat 3.2.4 before the final release.
> >
> >
> > Marc Saegesser
> >
> > > -----Original Message-----
> > > From: Michael Jennings [mailto:mike@southgatesoftware.com]
> > > Sent: Thursday, November 01, 2001 10:51 AM
> > > To: tomcat-dev@jakarta.apache.org
> > > Subject: Can someone commit this minor fix?
> > >
> > >
> > > The following fix enables form-based authentication to work with
> > > Apache + Tomcat.
> > > Can someone add this to tomcat 3.2?
> > >
> > > Thanks!
> > > -Mike Jennings
> > >
> > >
> > > Index:
> > > jakarta-tomcat/src/share/org/apache/tomcat/task/ApacheConfig.java
> > > 
> ===================================================================
> > > RCS file:
> > > /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/tas
> > > k/Attic/ApacheConfig.java,v
> > > retrieving revision 1.12.2.2
> > > diff -r1.12.2.2 ApacheConfig.java
> > > 202a203
> > > >         mod_jk.println("JkMount /*j_security_check ajp12");
> > > 289a291
> > > >       mod_jk.println("JkMount " + path 
> +"*j_security_check ajp12");
> > >
> > >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-dev-help@jakarta.apache.org>
> >
> >
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message