tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Static content and http.conf
Date Tue, 18 Feb 2003 17:29:04 GMT

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 will be
served by Apache, regardless of the location of the DocumentRoot.

John


> -----Original Message-----
> From: Duma Rolando [mailto:r.duma.spes@urmetsistemi.it]
> Sent: Tuesday, February 18, 2003 12:23 PM
> To: Tomcat Mailing List
> Subject: Static content and http.conf
> 
> 
> 1)How to configure apache to serve static content placed 
> inside a webapp
> context?
> 2)Does this configuration depends on the "paths" used inside 
> my jsp(i.e.
> does it works if i use relative paths for the images)?
> 3)If it depends also on connector used, is the warp connector ok?
> 4)Is the keepalive directive useful for a correct apache 
> configuration?
> 
> Sorry if i ask so many questions but the problem is only one: 
> how to deploy
> a webapp with all the static content but lave apache to serve this.
> Thanks in advance.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message