Point your Apache DocumentRoot to the same directory the you set in the
appBase attribute of your Host in server.xml. Then, make sure your
JkMount commands (if you are using mod_jk, that is) are specific to the
content you want Tomcat to serve, so that Apache will pick up the rest.
Regards,
You can not delegate static content to Apache using any currently-available
version of mod_webapp (aka the warp connector). You need to use mod_jk or
mod_jk2. Mod_webapp is supposed to gain that ability some time in the
future.
-Jake
- Original Message -
From: Duma Rolando [EMAIL
If that is what you want to do, don't use mod_webapp. mod_webapp does not
separate requests into static or dynamic. With mod_webapp, ALL requests are
sent to Tomcat.
Use JK or JK2.
JK:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
Any request that DOESN'T have .jsp or /servlet/ in the URL
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003 12:29 PM
To: 'Tomcat Users List'
Subject: RE: Static content and http.conf
If that is what you want to do, don't use mod_webapp. mod_webapp does not
separate requests into static or dynamic. With mod_webapp, ALL requests are
sent to Tomcat
PROTECTED]]
Sent: Tuesday, February 18, 2003 12:49 PM
To: 'Tomcat Users List'
Subject: RE: Static content and http.conf
Hi John
Does server.xml need to be modified to use workers? (ajp13 in
your example)
In my case ajp13 worker is to work on port 8009. How does
this incorporate
When you use tomcat and apache what is supposed to happen is
that tomcat services the jsp/servlet and apache services the
static requests. IE the html pages and graphics...
What it looks like to me is that you're configuration in the
mod_jk file isn't right, check to make sure that you have a
To: Tomcat Users List
Subject: Re: Static content
From your description we can only tell what you expect it to
do. To find
out where the problem is we will need to see your configs.
httpd.conf
mod_jk.conf server.xml etc etc.
Till then we're just guessing.
rls
[EMAIL
. The default is true, and if
true, ALL requests get passed to Tomcat.
John
-Original Message-
From: Robert L Sowders [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 7:02 PM
To: Tomcat Users List
Subject: Re: Static content
From your description we can only tell what you
/tomcat/tomcat-4.0-doc/config/ajp.html
Check the section that says Using ApacheConfig for more info.
John
-Original Message-
From: Rafael Angarita [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 9:25 AM
To: Tomcat Users List
Subject: Re: Static content
John, where
From your description we can only tell what you expect it to do. To find
out where the problem is we will need to see your configs. httpd.conf
mod_jk.conf server.xml etc etc.
Till then we're just guessing.
rls
[EMAIL PROTECTED]
09/18/2002 02:45 PM
Please respond to Tomcat Users List
10 matches
Mail list logo