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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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!
       -->
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.