Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 26321 invoked by uid 500); 7 May 2001 21:19:32 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 26265 invoked from network); 7 May 2001 21:19:25 -0000 Date: Mon, 7 May 2001 23:18:58 +0200 (CEST) From: giacomo X-X-Sender: To: Subject: Re: [C2] basic C2 serving questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Mon, 7 May 2001, Uli Mayring wrote: > On Mon, 7 May 2001, giacomo wrote: > > > > And how does Apache know which requests are intended for Tomcat? > > > > It's very well documented in the documentation that comes with tomcat. > > I know, my question was meant differently. The original poster said that > in C1 he told Apache to send .xml files to Tomcat (and from there to > Cocoon) and he wondered how to do that in C2. To that you answered: use > the Sitemap. But that doesn't answer the question, which should probably > be asked like this: > > How can I make use of the Sitemap features, when Apache knows nothing > about it? In C1 you had to make the decision "Cocoon or no Cocoon" in > Apache - and in C2 this is the same thing. The Sitemap doesn't really help > here, you have to send all requests, that could possibly be for Cocoon, to > Tomcat. Yes exactly. Cocoon 2 isn't a handler for an extension like Cocoon 1 was. It is a normal servlet controlling it's own URI space mounted from Apache (the JkMount directive in Apache) to the Tomcat context of Cocoon 2. > So, *.xml goes to Tomcat, *.html remains with Apache, for example. The > Sitemap would be more useful if it ran inside the webserver. Well, Tomcat is a web server, and the sitemap runs in it very well :) Giacomo --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: