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