You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/09/20 22:07:21 UTC

svn commit: rev 46946 - cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples

Author: vgritsenko
Date: Mon Sep 20 13:07:19 2004
New Revision: 46946

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/sitemap.xmap
Log:
Add redirect, auto mount.


Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/sitemap.xmap
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/sitemap.xmap	(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples/sitemap.xmap	Mon Sep 20 13:07:19 2004
@@ -63,6 +63,10 @@
 
   <map:pipelines>
     <map:pipeline>
+      <map:match pattern="">
+        <map:redirect-to uri="welcome"/>
+      </map:match>
+
       <!--
         - Welcome page
         -->
@@ -101,6 +105,13 @@
         -->
       <map:match pattern="*">
         <map:act type="faces"/>
+      </map:match>
+
+      <!--
+        - Auto mount for demos in sub directories
+        -->
+      <map:match pattern="*/**">
+        <map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/>
       </map:match>
 
     </map:pipeline>