cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: [C2] (hopefully) last sitemap major changes
Date Sat, 01 Jul 2000 14:27:37 GMT
Stefano Mazzocchi wrote:

As one looks into the sitemap WD in the CVS it seems that the
<map:match> element is the top element of a resource pipe. I guess it's
still true that such a pipe can be formed as (even if it somehow doesn't
make sense):

   <map:choose type="ip-filter">
    <map:when test="allowsAddress()">
     <map:match pattern="cocoon/dist/*"> 
      <map:redirect-to uri="dist/cocoon/{1}"/>
     </map:match>
    </map:when>
    <map:otherwise>
     <map:redirect-to resource="Access refused"/>
    </map:otherwise>
   </map:choose>

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

Mime
View raw message