cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <l.mo...@tin.it>
Subject RE: C1 to C2
Date Fri, 13 Jul 2001 13:39:40 GMT

> -----Original Message-----
> From: Arnaud Vandyck [mailto:arnaud@ressource-toi.org]
> Sent: venerdì 13 luglio 2001 14.53
> To: cocoon-users@xml.apache.org; lmorandini@ieee.org; l.moran@tin.it
> Subject: RE: C1 to C2
>
> If you only pass xml files to C2, you'll loose the ability to
> construct dynamic pdf with the pdf extension and so on with .txt or
> .sh or .jpg, and so on...
>
	you may pass every URI you want to Cocoon, whathever the extension. Of
course, you will have to rely on the Apache rewrite engine to handle this
job (I mean: switching URI between Apache or Cocoon).
	This URI switching task might be pretty tricky and, moreover, is bound to
put application logic outside the sitemap... which is unfortunate.

> In your configuration, what will you do if you got to serve static xml
> files (example: applet configuration)?
>
	I'll tell Apache NOT to pass xml files contained in a subsite to Cocoon.
For instance, every URI in www.foobar.com/foo/static won't be passed to
Cocoon but served directly by Apache, while every URI in
 www.foobar.com/foo/dynamic will be passed to Cocoon for further processing.

Best regards,
 
---------------------------------------------
               Luca Morandini
               GIS Consultant
            lmorandini@ieee.org
          +39 0744 59  85  1 Office
          +39 0335 681 02 12 Mobile
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message