"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> 
> The "all" part is easy -- the "only" part is more interesting.
> 
> When you are using mod_webapp, the current code forwards *all* requests
> under the specified directory name to Tomcat.  However, the design goal is
> that the connector will look at the web.xml file, and forward *only* those
> requests that are subject to a servlet mapping, a filter mapping, or a
> security constraint.  Thus, requests for *.xml will be automatically
> forwarded if you are running Cocoon (which has a servlet mapping for
> "*.xml") but would not be forwarded otherwise.
> 
> In this way, the web server will still serve all the static content that
> it can, but Tomcat will get involved wherever the application declares
> that it needs to be involved.

In practice, the C side of things ALREADY knows what it should and should
not forward. The information between Tomcat and Apache is exchanged.
Technically, there is still a patch to make that happen... Will be out with
the next release cycle...

    Pier

Reply via email to