forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf sitemap.xmap
Date Sat, 22 Mar 2003 12:11:45 GMT
jefft       2003/03/22 04:11:45

  Modified:    src/resources/conf sitemap.xmap
  Log:
  Bleh. Matching '' causes resource-exists to return true, since content/ exists.
  Use '.+' regexp instead to prevent this
  
  Revision  Changes    Path
  1.81      +5 -5      xml-forrest/src/resources/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- sitemap.xmap	22 Mar 2003 11:04:55 -0000	1.80
  +++ sitemap.xmap	22 Mar 2003 12:11:45 -0000	1.81
  @@ -136,7 +136,7 @@
         <!-- OUTPUT FORMATS                                               -->
         <!-- ============================================================ -->
   
  -      <map:match pattern="**">
  +      <map:match type="regexp" pattern=".+">
           <map:act type="resource-exists">
             <map:parameter name="url" value="content/{0}" />
             <map:mount uri-prefix="" src="raw.xmap" check-reload="yes" />
  @@ -296,16 +296,16 @@
           <map:mount uri-prefix="" src="static.xmap" check-reload="yes" />
         </map:match>
   
  +      <map:match pattern="**.xml">
  +        <map:mount uri-prefix="" src="forrest.xmap" check-reload="yes" />
  +      </map:match>
  +
         <map:match pattern="">
           <map:mount uri-prefix="" src="redirect.xmap" check-reload="yes" />
         </map:match>
   
         <map:match pattern="**/">
           <map:mount uri-prefix="" src="redirect.xmap" check-reload="yes" />
  -      </map:match>
  -
  -      <map:match pattern="**.xml">
  -        <map:mount uri-prefix="" src="forrest.xmap" check-reload="yes" />
         </map:match>
   
       </map:pipeline>
  
  
  

Mime
View raw message