John, I just wanted to thank you because I have been stuggling so much to do basically the same thing Frans was talking about. I had just about exhausted my search for the answer when I read your post today. I guess I just hadn't 'R' enough of 'TFMs'. So it looks like until that future version of mod_webapp is released, mod_jk is the way to go for those that want to serve only dynamic content from Tomcat. Thanks again.
-=brian > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 8:52 AM > To: 'Tomcat Users List' > Subject: RE: mod_webapp and static content > > > > From the tomcat 4.0.2 release notes: > > "Currently, mod_webapp forwards *all* requests under the > specified context > path to Tomcat for processing. In a futher release, it will > automatically > configure itself to serve static resources from Apache > *unless* the resource > is subject to filtering, or subject to a security constraint, > as defined in > web.xml. No extra configuration in httpd.conf will be required." > > So the goal is to have Tomcat serve only JSP and servlet > requests, and have > Apache handle all the rest. Tomcat stand-alone is not built > to be a very > efficient static content server...for smaller sites and sites with low > bandwidth needs Tomcat stand-alone would probably be suitable > for serving > all content. Anything bigger, with lots of images or other > static content, > etc. would be much better off using a Tomcat/Apache combo, as > Apache is very > good at serving static content, much better than Tomcat. > > John Turner > [EMAIL PROTECTED] > http://www.aas.com > > > -----Original Message----- > From: Frans Stofberg [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 4:45 AM > To: Tomcat Users List > Subject: mod_webapp and static content > > > Hello > > How dose one make Tomcat serve the dynamic content while > Apache the static > content with mod_webapp > > Currently, if i'm not mistaken the default configuration for > this makes > Tomcat serve static and dynamic content > > if it cant be done why would one whant to use Apache AND > Tomcat if Tomcat > can do the job in any case? > > thanks > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> >
