mman        01/10/18 12:52:58

  Modified:    webapp   sitemap.xmap
  Log:
  patch from Bertrand Delacretaz <[EMAIL PROTECTED]> for sub-sitemap
  automount, note that after dropping dir/ subdir to the mount/ directory
  you have to point your browser to ......./mount/dir/ (note the trailing slash)
  otherwise the automount matcher will not catch the request...
  
  Revision  Changes    Path
  1.56      +12 -0     xml-cocoon2/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- sitemap.xmap      2001/10/10 20:53:57     1.55
  +++ sitemap.xmap      2001/10/18 19:52:58     1.56
  @@ -249,6 +249,18 @@
      </map:match>
     </map:pipeline>
   
  +  <!-- "automount" setup
  +  This causes directories added under "mount"
  +  (even with Cocoon already running) to be activated automagically
  +  if they contain a sitemap.xmap, without having to modify the main
  +  sitemap.xmap
  +  -->
  +  <map:pipeline>
  +    <map:match pattern="mount/*/**">
  +      <map:mount uri-prefix="mount/{1}" src="mount/{1}/" check-reload="yes"/>
  +    </map:match>
  +  </map:pipeline>
  +
     <map:pipeline>   
      <map:match pattern="">
       <map:redirect-to uri="welcome"/>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to