tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <>
Subject RE: static rules for jk/ajp13
Date Tue, 15 Oct 2002 12:28:56 GMT

I wasn't arguing, merely pointing out as an answer to your question that
either way requires work from a configuration standpoint.  You either need
generic Apache rules and specific Tomcat rules, or specific Apache rules
(like with mod_rewrite) and generic Tomcat rules.

There is no such thing as a free lunch, either way you will need to
configure things manually.  In my opinion, especially if you are the
sys-admin, the easiest way (and the conventional way) is to setup the rules
as I posted and tell your developers that is how it should be. But, if
you're looking for more work for yourself, you are welcome to do it however
you wish.

I apologize for replying to your post and trying to help.


> -----Original Message-----
> From: Frank Liu []
> Sent: Monday, October 14, 2002 6:37 PM
> To: Tomcat Users List
> Subject: RE: static rules for jk/ajp13
> On Mon, 14 Oct 2002, Turner, John wrote:
> >
> > Since Tomcat only deals with JSP and servlets, this should 
> be all you need:
> >
> > JkMount /*.jsp ajp13
> > JkMount /servlet/* ajp13
> >
> > What else would Tomcat serve?
> I am not a developer, but sometimes am asked by our developers to add
> JkMount /myapp/Admin  ajp13
> JkMount /myapp/Read   ajp13
> ...
> Apparently, they are mapping the servlets with a more 
> "readable" names.
> I will be happier if everyone uses "servlet" in the URL. so I can just
> JkMount /myapp/servlet/*
> but such is life.
> Anyway, instead of arguing whether tomcat only serves *.jsp 
> and /servlet,
> is there an answer to my original question?
> Frank

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message