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 2006/06/23 17:45:50 UTC

svn commit: r416745 - /lenya/trunk/src/webapp/global-sitemap.xmap

Author: andreas
Date: Fri Jun 23 08:45:50 2006
New Revision: 416745

URL: http://svn.apache.org/viewvc?rev=416745&view=rev
Log:
Fixed URLs in global-sitemap.xmap (added fallback)

Modified:
    lenya/trunk/src/webapp/global-sitemap.xmap

Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/global-sitemap.xmap?rev=416745&r1=416744&r2=416745&view=diff
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Fri Jun 23 08:45:50 2006
@@ -275,7 +275,7 @@
         
         <map:select type="resource-exists">
           <!-- resource exists - serve statically -->
-          <map:when test="lenya/modules/{1}/resources/{2}">
+          <map:when test="fallback://lenya/modules/{1}/resources/{2}">
             <map:mount uri-prefix="modules/" src="fallback://lenya/module-resources.xmap" check-reload="true" reload-method="synchron" pass-through="true"/>
           </map:when>
         </map:select>
@@ -286,12 +286,12 @@
       </map:match>
       
       <!-- Publication specific Module requests -->
-      <!-- {publication-id}/mdoules/{module-id}/... -->
+      <!-- {publication-id}/modules/{module-id}/... -->
       <map:match pattern="*/modules/*/**">
         
         <map:select type="resource-exists">
           <!-- resource exists - serve statically -->
-          <map:when test="lenya/modules/{2}/resources/{3}">
+          <map:when test="fallback://lenya/modules/{2}/resources/{3}">
             <map:mount uri-prefix="{1}/modules/" src="fallback://lenya/module-resources.xmap" check-reload="true" reload-method="synchron" pass-through="true"/>
           </map:when>
         </map:select>



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