You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Colin Britton <cb...@freefoto.com> on 2000/12/20 23:22:07 UTC

Sitemap Question

Can someone tell me why this works:

  <map:match pattern="images/**.jpg">
    <map:read src="resources/images/{1}.jpg" mime-type="image/jpg"/>
   </map:match>


and this does not:

  <map:match pattern="/images/**.jpg">
    <map:read src="/resources/images/{1}.jpg" mime-type="image/jpg"/>
   </map:match>

I am trying to make all images be served from the servlet context root.
 
rgds
CB