cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Design bug or implementation bug in redirector?
Date Fri, 13 Jun 2003 12:28:40 GMT
Mato Mira, Fernando wrote:

>When trying
>
><map:match pattern="*/baz">
>  <map:redirect-to uri="bar/baz"/>
></map:match>
>
>foo/baz will get redirected to foo/bar/baz, not to bar/baz
>  
>

It's a feature. Redirect sends redirect which is resolved by browser. 
Sitemap does not process redirect URI. Thus, if you want to redirect to 
<sitemap-root>/bar/baz, type:

  <map:redirect-to uri="../bar/baz"/>




Vadim


Mime
View raw message