tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Webmaster" <webmas...@cienciapura.com.br>
Subject mod_jk2 and subdirectories
Date Thu, 19 Aug 2004 13:18:20 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message