I don't know exactly about the syntax of these files but the following entry
worked for me in the workers2.properties file:

[uri:$/jsp-examples/*]

Not sure about it, but apparently the $ before the / makes the difference.
Try it with jsp-examples which also has subdirectories in it.


Jos� Ernesto Echeverr�a
 

-----Original Message-----
From: Joseph Shraibman [mailto:[EMAIL PROTECTED] 
Sent: Jueves, 19 de Agosto de 2004 11:29 a.m.
To: Tomcat Users List
Subject: [tomcat] Re: mod_jk2 and subdirectories

YOu have to use LocationMatch instead because * won't match a /.  I had this
problem myself.

Webmaster wrote:
> Hi all,
> 
> I'm trying to upgrade a setup I was using with mod_jk to mod_jk2.
> 
> This setup has 2 workers. Here it is:
> 
> With mod_jk:
> 
> JkMount /webapp1/*.jsp worker1
> JkMount /webapp2/*.jsp worker2
> 
> Everything works fine if call, for instance, 
> http://localhost/webapp1/admin/login.jsp
> 
> With mod_jk2 I'm trying:
> <Location "/webapp1/*.jsp">
>   JkUriSet worker ajp13:localhost:8009 </Location> <Location 
> "/webapp2/*.jsp">
>   JkUriSet worker ajp13:localhost:8010 </Location>
> 
> If I call http://localhost/webapp1/login.jsp, it works, but if I call:
http://localhost/webapp1/admin/login.jsp, it doesn't !! Since I don't know
which subdirectories I'll have, I don't want to hardcode all the entries....

> 
> What can I do ?
> 
> Thanks !!
> Renato.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



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

Reply via email to