With JKMount you would have done this with the location
<LocationMatch */*.jsp>
JkMount worker1
Order allow,deny
Allow from all
</LocationMatch>
but I think with the mod_proxy_ajp you need to do something like this
ProxyPass $1.jsp ajp://localhost:8009/$1.jsp
don't know if that will actually work as i am not an apache guru.
-- e
On 06/09/06, Tom <newsgroup@tekennelly.gotdns.com> wrote:
>
> Now, after implementing mod_proxy_ajp, I do not have a clue how to
> change all of the JK* settings to use the new mod_proxy_ajp approach.
> Previously I used JKmount /*.jsp worker1
>
> I am not sure how to use a <Location> for a <LocationMatch>. I did
> experiment with <LocationMatch ".jsp"> but that did not seem to work.
>
> Mladen Turk wrote:
> > David Smith wrote:
> >> And the Apache httpd module API is as far as I understand a moving
> >> target. Modules for 2.0.x are not compatible with 2.2. Try one
> >> built for 2.2, or if available,
> >
> > It is not available, neither it will be.
> > The preferred solution is to use the mod_proxy with
> > mod_proxy_ajp and mod_proxy_balancer.
> >
> >> use the mod_rewrite for 2.2. It's supposed to be able to handle the
> >> AJP/1.3 protocol.
> >>
> >
> > Use mod_proxy and mod_proxy_ajp.
> > Although mod_rewrite can be used, it lacks the AJP
> > protocol configuration (uses defaults).
> >
> > Regards,
> > Mladen.
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
-- e
|