> Thanks for the hint. The pattern of the matchers to the mount element
> should be "sub/**". In the sub-sitemap a redirect should not include the
> url prefix of the sub sitemap else you cannot relocate the sub sitemap
> to another url prefix without changing all the patterns in there..
But now don't you need to have two matchers in the main sitemap:
<map:pipeline>
<map:match pattern="sub/**">
<map:mount uri-prefix="sub" src="sub/" check-reload="yes"/>
</map:match>
</map:pipeline>
<map:match pattern="sub">
<map:redirect-to uri="sub/"/>
</map:match>
Which means the sequence looks like:
.../cocoon/sub --> .../cocoon/sub/ --> .../cocoon/sub/foobar
Which seems to me like one redirect too many. How about adding a
parameter to the "mount" element that would deal with the trailing
backslash issues?
Jason Foster
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>