> From: Frank Taffelt [mailto:[EMAIL PROTECTED]]
>
> Hi,
>
> i'm trying to serve my application-content from subsitemaps.
> Here is a example from my sitemap.
>
> the Base-Sitemap:
>
> <base-sitemap>
> <!-- mounted subapplication -->
> <map:match pattern="sub/**">
> <map:mount check-reload="yes" src="sub/sitemap.xmap"
uri-prefix="sub"/>
> </map:match>
>
> <map:match pattern="test">
> <map:generate src="cocoon:/sub/"/>
> <map:serialize type="xml"/>
> </map:match>
> </base-sitemap>
>
> the SubSitemap :
>
> <sub-sitemap>
> <map:match pattern="">
> <map:redirect-to uri="entry"/>
Try here:
<map:redirect-to uri="cocoon:/entry"/>
Or:
<map:generate src="content.xsp" type="serverpages"/>
<map:serialize type="xml"/>
> </map:match>
>
> <map:match pattern="/">
> <map:redirect-to uri="entry"/>
> </map:match>
This is not needed. It should never match.
> <map:match pattern="entry">
> <map:generate src="content.xsp" type="serverpages"/>
> <map:serialize type="xml"/>
> </map:match>
> </subsitemap>
>
> When requesting "/test" i expect the content from /sub/entry.
> But i'm getting the following error message in sitemap.log:
> org.apache.cocoon.ResourceNotFoundException: No pipeline matched
request:
> sub//entry
>
> is this a bug or did i something misunderstand?
Looks like a good place where bug or two can hide.
Vadim
>
> Thanks lot
> -Frank
---------------------------------------------------------------------
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]>