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

>
> John
>
> > -----Original Message-----
> > From: Frank Liu [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, October 14, 2002 4:07 PM
> > To: [EMAIL PROTECTED]
> > Subject: static rules for jk/ajp13
> >
> >
> >
> > How do I config httpd.conf so that apache will pass everything
> > to tomcat except *.gif and *.html/*.htm ?
> > Basically I want apache to default to pass to tomcat unless
> > otherwise told.
> > The docs I can find all talks the other way around: default to apache
> > and only pass to tomcat when you explicitly ask for certain urls.
> >
> > Frank
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to