In the main sitemap, I have mounted a sub-sitemap like:
<map:pipeline>
<map:match pattern="sub**">
<map:mount uri-prefix="sub" src="sub/" check-reload="yes"/>
</map:match>
</map:pipeline>
In the sub-sitemap, there is this entry
<map:match pattern="">
<map:redirect-to uri="sub/foobar"/>
</map:match>
Now, if I request /cocoon/sub, I get redirected to /cocoon/sub/foobar,
which is what I want.
However, if I request /cocoon/sub/, I get redirected
/cocoon/sub/sub/foobar, which is not found.
Is this the desired behaviour? If so, how should I correct my pipelines
to get the same result from requesting with or without trailing slash?
Sven....
---------------------------------------------------------------------
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]>