There is some support for exclusion rules in jk2 (AFAIK, only from CVS at
the moment).
What I do (for the released jk), is to set the ApacheConfig attribute
forwardAll=false, and then include the result into httpd.conf. For large
sites, or those with extremely heavy usage, this may not be
rules for jk/ajp13
There is some support for exclusion rules in jk2 (AFAIK, only
from CVS at
the moment).
What I do (for the released jk), is to set the ApacheConfig attribute
forwardAll=false, and then include the result into
httpd.conf. For large
sites, or those with extremely heavy
Epstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:50 PM
To: Tomcat Users List
Subject: RE: static rules for jk/ajp13
Well, I don't want to argue either :-), but I'm not sure it's really
the conventional way. It used to be -- i.e. using URLs with
/servlet/ in them
]]
Sent: Monday, October 14, 2002 6:37 PM
To: Tomcat Users List
Subject: RE: static rules for jk/ajp13
On Mon, 14 Oct 2002, Turner, John wrote:
Since Tomcat only deals with JSP and servlets, this should
be all you need:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
without affecting Apache.
Tastes great, less filling. :)
John
-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:50 PM
To: Tomcat Users List
Subject: RE: static rules for jk/ajp13
Well, I don't want to argue either :-), but I'm
Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:50 PM
To: Tomcat Users List
Subject: RE: static rules for jk/ajp13
Well, I don't want to argue either :-), but I'm not sure it's really
the conventional way. It used to be -- i.e. using URLs
How do I config httpd.conf so that apache will pass everything
to tomcat except *.gif and *.html/*.htm ?
Basically I want apache to default to pass to tomcat unless otherwise told.
The docs I can find all talks the other way around: default to apache
and only pass to tomcat when you explicitly
]
Subject: static rules for jk/ajp13
How do I config httpd.conf so that apache will pass everything
to tomcat except *.gif and *.html/*.htm ?
Basically I want apache to default to pass to tomcat unless
otherwise told.
The docs I can find all talks the other way around: default to apache
If you are running Cocoon or a Cocoon-based
application, you might also want to add the following:
JkMount /cocoon/* ajp13
This will dump everything in the Cocoon directory to
Tomcat which will use the Cocoon webapp to deal with
things. If you have static files (such as html or
images) then
-Original Message-
From: Frank Liu [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 4:07 PM
To: [EMAIL PROTECTED]
Subject: static rules for jk/ajp13
How do I config httpd.conf so that apache will pass everything
to tomcat except *.gif and *.html/*.htm ?
Basically I want apache
,
is there an answer to my original question?
Frank
John
-Original Message-
From: Frank Liu [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 4:07 PM
To: [EMAIL PROTECTED]
Subject: static rules for jk/ajp13
How do I config httpd.conf so that apache will pass everything
Frank,
I am not aware of any exclusion rules per sae . . .
Without having your developers follow some conventions
as to file location, I think you have a lost cause.
/mde/
just my two cents . . . .
__
Do you Yahoo!?
Faith Hill - Exclusive
On Mon, Oct 14, 2002 at 10:37:29PM +, Frank Liu wrote:
The docs I can find all talks the other way around: default to apache
and only pass to tomcat when you explicitly ask for certain urls.
There was an posting on this list a few weeks ago
which showed a way to do this.
Essentially,
13 matches
Mail list logo