MTiffany,

        my standard way, rather inelegant, is calling static content as a separate
URI, something like: /yourapp-static/foo.gif.

        Of course, /yourapp-static has to be a root-level alias in Apache.

        Though... you might consider using <map:read> in your sitemap, hence
letting Cocoon serve static content; the overhead seems to be very small
(refer to recent postings in this mailing list).

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 09, 2001 7:25 PM
To: [EMAIL PROTECTED]
Subject: [C2] Static content


Hi all,

how can I let apache serve static content ( gif and jpeg files ) from a
cocoon context? The faqs and lovely manual don't address this (not that I
can find anyway).

I'm using
apache 1.3.19
tomcat 4.0.1
cocoon 2 RC1
Win98

all helpful suggestions welcome
mtiffany


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to