cocoon-users mailing list archives

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

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>	              
            
<map:match pattern="FCKEditor/**.gif">
  <map:read mime-type="image/gif" src="FCKEditor/{1}.gif"/>
</map:match>

...

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.

Mime
View raw message