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 2007/11/05 10:12:09 UTC

svn commit: r591926 - /lenya/sandbox/pubs/docu/sitemap.xmap

Author: andreas
Date: Mon Nov  5 01:12:08 2007
New Revision: 591926

URL: http://svn.apache.org/viewvc?rev=591926&view=rev
Log:
Added redirect to 'About' page, will hopefully become obsolete with a better URL structure

Modified:
    lenya/sandbox/pubs/docu/sitemap.xmap

Modified: lenya/sandbox/pubs/docu/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/sitemap.xmap?rev=591926&r1=591925&r2=591926&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/sitemap.xmap (original)
+++ lenya/sandbox/pubs/docu/sitemap.xmap Mon Nov  5 01:12:08 2007
@@ -131,6 +131,14 @@
         <map:serialize type="xml"/>
       </map:match>
       
+      <!-- Redirect to "About" page. -->
+      <map:match pattern="*/">
+        <map:redirect-to uri="{proxy:/{page-envelope:publication-id}/{1}/project-information/indexpm.html}"/>
+      </map:match>
+      <map:match pattern="*">
+        <map:redirect-to uri="{proxy:/{page-envelope:publication-id}/{1}/project-information/indexpm.html}"/>
+      </map:match>
+      
       <!-- Requests ending in a slash are redirected to the corresponding index.html page to mimic
            standard web browser behaviour. -->
       <!-- FIXME: this will trigger a HTTP redirect. Maybe it's more effective to do an internal redirect using
@@ -144,7 +152,7 @@
     
 
     <map:pipeline type="caching">
-
+      
       <!-- RSS formatting. 
            FIXME: this should be handled by an RSS feed module!
       -->



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