Author: crossley
Date: Mon Jan 31 16:55:52 2005
New Revision: 149336

URL: http://svn.apache.org/viewcvs?view=rev&rev=149336
Log:
Move the match for **.lucene to higher in the sitemap. Requests for some 
filenames
were being intercepted by another match.
Submitted by: Florian G. Haas
Issue: FOR-246

Modified:
    forrest/trunk/main/webapp/sitemap.xmap

Modified: forrest/trunk/main/webapp/sitemap.xmap
URL: 
http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/sitemap.xmap?view=diff&r1=149335&r2=149336
==============================================================================
--- forrest/trunk/main/webapp/sitemap.xmap (original)
+++ forrest/trunk/main/webapp/sitemap.xmap Mon Jan 31 16:55:52 2005
@@ -46,11 +46,10 @@
        <parameter name="localizable" value="true"/>
       </map:generator>        
 
-                
     </map:generators>
 
     <map:transformers default="xslt">
-          
+
       <!-- Add values to skinconf that need extra processing like the color 
shades -->
       <map:transformer name="skinconf" 
src="org.apache.forrest.conf.SkinconfTransformer"/>
               
@@ -179,7 +178,7 @@
                  src="org.apache.cocoon.selection.ExceptionSelector">
      <exception name="syntax" 
class="net.sourceforge.chaperon.process.ParseException"/>
      <exception class="java.lang.Throwable" unroll="true"/>
-   </map:selector>             
+   </map:selector>
     </map:selectors>
 
     <map:pipes default="caching">
@@ -602,7 +601,11 @@
       <map:match pattern="profiler">
         <map:mount uri-prefix="" src="profiler.xmap" check-reload="yes" />
       </map:match>
-        
+
+      <map:match pattern="**.lucene">
+        <map:mount uri-prefix="" src="search.xmap" check-reload="yes" />
+      </map:match> 
+
       <map:select type="exists">
          <map:when test="{project:temp-dir}/resources.xmap">
            <map:mount uri-prefix="" 
@@ -626,9 +629,6 @@
       </map:match>
      <map:match pattern="**.ico">
         <map:mount uri-prefix="" src="resources.xmap" check-reload="yes" />
-      </map:match> 
-      <map:match pattern="**.lucene">
-        <map:mount uri-prefix="" src="search.xmap" check-reload="yes" />
       </map:match> 
     </map:pipeline>
 


Reply via email to