You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/03/20 00:03:17 UTC

svn commit: r639056 - /lenya/sandbox/modules/docustyle/sitemap.xmap

Author: andreas
Date: Wed Mar 19 16:03:12 2008
New Revision: 639056

URL: http://svn.apache.org/viewvc?rev=639056&view=rev
Log:
Fixing redirect from **/ to **/index.html (works with proxy now).

Modified:
    lenya/sandbox/modules/docustyle/sitemap.xmap

Modified: lenya/sandbox/modules/docustyle/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/sitemap.xmap?rev=639056&r1=639055&r2=639056&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/sitemap.xmap (original)
+++ lenya/sandbox/modules/docustyle/sitemap.xmap Wed Mar 19 16:03:12 2008
@@ -40,6 +40,13 @@
   
   <map:pipelines>
     
+    <map:pipeline type="noncaching">
+      <!-- catch webdav GET requests. -->
+      <map:match pattern="*/webdav**">
+        <map:mount uri-prefix="{1}/" src="{fallback:lenya/modules/webdav/sitemap.xmap}" check-reload="true" reload-method="synchron"/>    
+      </map:match>
+    </map:pipeline>
+    
     <!-- This pipeline handles helper requests and metadata, not the actual publication documents -->
     <map:pipeline>
       
@@ -62,13 +69,13 @@
         a cocoon:/ URI? An apache httpd server will not send a HTTP redirect when a directory is requested, but
         serve the index.html file implicitly IIRC. -->
       <map:match pattern="**/">
-        <map:redirect-to uri="index.html"/>
+        <map:redirect-to uri="{proxy:/{page-envelope:publication-id}/{1}/index.html}"/>
       </map:match>
       
     </map:pipeline>
     
     
-    <!-- Pipeliens for navigation elements.. -->
+    <!-- Pipelines for navigation elements. -->
     <map:pipeline type="noncaching">
       
       <map:match pattern="menu/*">



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org