On Mon, 2 Jul 2001, Torsten Curdt wrote:
> I wonder if there is a way of having a sub sitemap
> that does not change the context dir.
> I need to access files in the parent dir of the
> sub sitemap's dir.
>
> Under linux filesystem links could solve the
> problem. (Although it is not a very nice sollution)
>
> My first guess was not to change the context dir
> by passing an empty src attribute to the mount
> attribute:
>
> <map:match pattern="sub/**">
> <map:mount uri-prefix="sub" src="" check-reload="yes"/>
> </map:match>
>
> But how is the sitemap.xmap found then?
>
> So if this is not possible right now... What about
> an explicit context dir parameter for the map:mount?
>
> <map:match pattern="sub/**">
> <map:mount uri-prefix="sub" src="sub/sitemap.xmap" context="sub/"
>check-reload="yes"/>
> </map:match>
>
> So I could do
>
> <map:match pattern="sub/**">
> <map:mount uri-prefix="sub" src="sub/sitemap.xmap" context=""
>check-reload="yes"/>
> </map:match>
I'm not 100% sure but could you try to use this:
<map:match pattern="sub/**">
<map:mount uri-prefix="sub" src="/mysite.xmap" check-reload="yes"/>
</map:match>
Giacomo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]