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 18:09:41 GMT

Tomcat has a JK/JK2 compatible connector configured on port 8009 by default.
There's nothing you need to do to server.xml if you want to use port 8009
except make sure your Hosts and Contexts are configured correctly.

John


> -----Original Message-----
> From: Kim, Hongkyu [mailto:hongkkim@Mobility.com]
> 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
> into server.xml ? I'm using mod_jk on Apache 1.3 and Tomcat 4.1.
> 
> Thanks in advance.
> 
> -----Original Message-----
> From: Turner, John [mailto:JTurner@AAS.com] 
> 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.
> 
> 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
> 
> ---------------------------------------------------------------------
> 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