On Thu, Oct 18, 2001 at 12:34:05PM +0200, Bertrand Delacretaz wrote:
> Hi committers,
> 
> I suggest adding the following to the standard sitemap.xmap - it would allow 
> sub-sitemaps to be "mounted" while Cocoon is running, by copying them 
> under the "mount" subdirectory, without having to modify the main 
> sitemap.xmap.
> 
> This is based on Stefan Koehler's message of yesterday re.Cocoon web 
> applications - thanks!
> 
>   <!-- "automount" setup
>     This causes directories added under "mount"
>     (even with Cocoon already running) to be activated automagically
>     if they contain a sitemap.xmap, without having to modify the main
>     sitemap.xmap
>   -->
>   <map:pipeline>
>     <map:match pattern="mount/*/**">
>       <map:mount uri-prefix="mount/{1}" src="mount/{1}/" check-reload="yes"/>
>     </map:match>
>   </map:pipeline>

I think this might be a nice feature to have per-default in a cocoon, but I
don't feel that sure to add it before asking the team, ...

so the team, please vote on

1) adding this to the default sitemap commented out, so that interested people
   can uncomment it and the default security policy stays safe-per-default

2) adding this fragment uncommented and create the mount/ subdirectory, so
   that people can start using it out-of-the-box

> -- 
>  -- Bertrand Delacrétaz, www.codeconsult.ch
>  -- web technologies consultant - OO, Java, XML, C++
> 

rgds,
martin
-- 
2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to