cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goetzmann Bertrand" <>
Subject Serving files
Date Tue, 17 Jan 2006 08:14:01 GMT

I'm in a situation for my Cocoon application where I must serve all the
file included in a certain folder, and I my sitemap.xmap I have
statements like these :

<map:match pattern="FCKEditor/**.html">
  <map:read mime-type="text/html" src="FCKEditor/{1}.html"/>
<map:match pattern="FCKEditor/**.gif">
  <map:read mime-type="image/gif" src="FCKEditor/{1}.gif"/>


The folder in question here is FCKEditor, and I supply a match for each
file type.

Is it the best approach for this ? It is a more simple way to do that ?

Thank you.

Bertrand Goetzmann.

View raw message