Re: possibly off topic: workers2.properties question

2003-06-17 Thread Bill Barker
If your version of Jk2 is recent enough, and was compiled with the Apache regex library, then you should be able to do: [uri:!/app/*.gif] (of course you can always get more clever with regexps ;-). I haven't actually tried it myself, but I'm told that it does work. Mark Eggers [EMAIL PROTECTED]

possibly off topic: workers2.properties question

2003-06-17 Thread Steven Garrett
Hi, I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our workers2.properties we've defined an application [uri:/app/*] worker=ajp13:localhost:8009 but we have other things in that directory such as .html, .jpeg. .gif that we don't want to have passed to tomcat and other

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Hi - You don't exclude, you include. Change /app/* to /app/*.jsp and /app/servlet/* or whatever. John On Tue, 17 Jun 2003 10:51:41 -0400, Steven Garrett [EMAIL PROTECTED] wrote: Hi, I'm running mod_jk2, with apache 2.0.45 and tomcat 4.1.24. In our workers2.properties we've defined an

Re: possibly off topic: workers2.properties question

2003-06-17 Thread Mark Eggers
Steve, You would single out what you wish to have Tomcat handle, and then Apache would handle the rest. For example: [uri:/app/*.jsp] worker=ajp13:localhost:8009 [uri:/app/servlet/*] worker=ajp13:localhost:8009 would send all files ending in .jsp and all files underneath the /app/servlet uri

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
List Subject: Re: possibly off topic: workers2.properties question Steve, You would single out what you wish to have Tomcat handle, and then Apache would handle the rest. For example: [uri:/app/*.jsp] worker=ajp13:localhost:8009 [uri:/app/servlet/*] worker=ajp13:localhost:8009 would send all

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
List Subject: Re: possibly off topic: workers2.properties question Steve, You would single out what you wish to have Tomcat handle, and then Apache would handle the rest. For example: [uri:/app/*.jsp] worker=ajp13:localhost:8009 [uri:/app/servlet/*] worker=ajp13:localhost:8009 would send all files

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
Subject: Re: possibly off topic: workers2.properties question Sure, that could be done, but I honestly don't see the value. The only way this is better or easier is if you have your servlets spread out all over the place. Otherwise, you can handle everything you need with two

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
PROTECTED] Sent: Tuesday, June 17, 2003 10:16 AM To: Tomcat Users List Subject: Re: possibly off topic: workers2.properties question Steve, You would single out what you wish to have Tomcat handle, and then Apache would handle the rest. For example: [uri:/app/*.jsp] worker=ajp13

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:20 AM To: Tomcat Users List Subject: Re: possibly off topic: workers2.properties question You don't have to use the Invoker...my point was that typically (at least from what I have seen) people put

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mark Eggers
One of the ways you could accomplish the /app/servlet/* mapping is to map each of your servlets in the app's web.xml file with a: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/servlet/MyServlet/url-pattern /servlet-mapping for each servlet in your app.

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
Or do like struts and stick an extension on there. Struts uses *.do. Here are the JkMounts for an app running on 4.1.12 on Solaris, using struts: JkMount /myApp/*.do ajp13 JkMount /myApp/*.jsp ajp13 At that point, AFAIK, Tomcat will use the URL mapping in web.xml to determine which

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
AM To: Tomcat Users List Subject: Re: possibly off topic: workers2.properties question You don't have to use the Invoker...my point was that typically (at least from what I have seen) people put their publicly accessible servlets in one place. If they're all in one place, and typically

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
again. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 1:49 PM To: Tomcat Users List Subject: Re: possibly off topic: workers2.properties question The invoker servlet allows you to skip explicitly mapping your servlet in web.xml

Re: possibly off topic: workers2.properties question

2003-06-17 Thread John Turner
: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:20 AM To: Tomcat Users List Subject: Re: possibly off topic: workers2.properties question You don't have to use the Invoker...my point was that typically (at least from what I have seen) people put their publicly

RE: possibly off topic: workers2.properties question

2003-06-17 Thread Mike Curwen
jkmount to /ser* ? -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 12:29 PM To: Tomcat Users List Subject: Re: possibly off topic: workers2.properties question On Wed, 18 Jun 2003 00:04, Mike Curwen wrote: Maybe I'm missing