cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: rev 46946 - cocoon/branches/BRANCH_2_1_X/src/blocks/faces/samples
Date Mon, 20 Sep 2004 20:07:21 GMT
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>

Mime
View raw message