> -----Original Message----- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 18, 2002 7:52 PM > To: Tomcat Users List > Subject: Re: mod_webapp and php > > > > I cannot fathom how they plan to do that, since it would violate the > > view of a "web application" as a sealed component on the "servlet > > container". I mean suppose you have a WELCOME.GIF file in your web > > application, how is Apache supposed to serve it, other than through > > WARP? Pre-caching of all static content upon "Warp Deployment"? > > > > The original design goal was to make a decision based on the incoming > request URI of each request, by asking the following questions: > * Is this request URI matched by a filter mapping? > * Is this request URI matched by a servlet mapping? > * Is this request URI matched by a security constraint? > If the answer to any of these questions is YES, the request must be served > by Tomcat, to maintain the semantics required by the servlet > specification. > > On the other hand, if the answer to all of these questions is NO, there is > no semantic problem with allowing Apache to serve this resource, instead > of the default file-serving servlet in Tomcat. >
Thanks for clarification, Craig But then again, what if the static content (e.g. some html pages) resides inside web-app, is it than considered static? Will Apache serve it from there directly (I believe not, cause it could be on a different host) or will mod_webapp pre-cache it in some place Apache is aware of or will such content be served by Tomcat? (that is what I think for now) Anton -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>