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
vlet
/serLogin/*
and map 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 Ju
at I won't need to restart
> Tomcat every time I add a servlet, so that this file (the one I >
snipped
> above) will get re-generated. And then re-start apache to pick up that
> file's changes.
> Please correct any misunderstandings, I get confused easily. ;)
>
>> -Origina
ay. Perhaps this one will
work.
Thanks 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 "
isunderstandings, I get confused easily. ;)
-----Original Message-
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 typic
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 act
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:
MyServlet
/servlet/MyServlet
for each servlet in your app. You would also have to
define something like:
MyServlet
MyServlet
org.som
isunderstandings, I get confused easily. ;)
> -Original Message-
> 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
is a huge pipe dream? Aside from the fact that this is not >
currently implemented, can anyone see anything theoretically or >
practically wrong with an approach such as this one?
>
>
> -Original Message-
> From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Tuesday, Ju
, 2003 11:00 AM
> To: Tomcat Users List
> 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 servlet
ggers [mailto:[EMAIL 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
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:localhost:8009
[uri:/app/servlet/*]
worker=ajp13:local
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 t
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 a
14 matches
Mail list logo