Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 39986 invoked from network); 25 Jun 2000 21:26:27 -0000 Received: from stargazer.dataway.ch (HELO dataway.ch) (qmailr@195.216.64.144) by locus.apache.org with SMTP; 25 Jun 2000 21:26:27 -0000 Received: (qmail 5673 invoked by uid 0); 25 Jun 2000 21:26:24 -0000 Received: from zh2-9.dial.dataway.ch (HELO pwr.ch) (root@195.216.80.137) by stargazer.dataway.ch with SMTP; 25 Jun 2000 21:26:24 -0000 Received: (qmail 21729 invoked from network); 25 Jun 2000 21:25:09 -0000 Received: from donald.pwr.ch (HELO pwr.ch) (giacomo@10.20.30.103) by simba.pwr.ch with SMTP; 25 Jun 2000 21:25:09 -0000 Sender: giacomo Message-ID: <3956791B.1931AB00@pwr.ch> Date: Sun, 25 Jun 2000 23:26:51 +0200 From: Giacomo Pati Organization: PWR Organisation & Entwicklung X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: playing with cocoon2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Donald Ball wrote: > > On 25 Jun 2000, Hans Ulrich Niedermann wrote: > > > Donald Ball writes: > > > > > 2. add some sort of directive to the sitemap that says read the resource > > > and spew the bytes out - > > > > > > > > > > > > > > > > I think this is one of the cases where the Tomcat User's Guide > > recommends using a "real" web server (see section "Setting Tomcat to > > Cooperate with the Apache Web Server"). So perhaps you should consider > > that option. > > sure, absolutely, but if my objects are available through two different > URLspaces: > > /cocoon/photomontage/ for cocoon-processed > /static/photomontage/ for non-cocoon-processed > > writing the links to the static images in my stylesheet is going to be a > pain in the ass. > > on the other hand, this pass-through or read function suggested for the > sitemap also sucks since then we're going to be responsible for setting > the mime type ourselves - apache has a nice set of modules for doing that, > it would seem to be much saner to have apache do it, right? Stefano mentioned the request.getMimeType() method to get the default mime-type if you don't specify one. The request object in cocoon is not a HttpRequest so we could run in trouble when we are in Commandline/Offline mode. > > so i ask again, why would this not be desirable: > > ^ ^ ^ I see that we have to discuss again how wildcards must be written. I've thought we don't ever wrote any parenthesis. This is like mixing wildcars and reg-exp but this is not possible because of the different meaning of the *. Giacomo -- PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202 Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201 Hintereichenstrasse 7 Mailto:Giacomo.Pati@pwr.ch CH-8166 Niederweningen Web: http://www.pwr.ch