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/*">
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.