cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alarcher <antoinelarc...@gmail.com>
Subject Cocoon redirect
Date Mon, 28 Aug 2006 12:39:00 GMT

Hi folks,

I encounter some problems using cocoon:/redirect.
Here is an example :

<map:pipeline>
  <map:match pattern="test.html">
    <map:redirect-to uri="cocoon:/test2.html"/>  
  </map:match>
</map:pipeline>

<map:pipeline>
  <map:match pattern="test2.html">
    <map:redirect-to uri="http://www.google.com"/>  
  </map:match>
</map:pipeline>


When typing test.html in browser, cocoon internal redirect is done to
test2.html, but then a blank page is displayed.
Whereas when typing test2.html in the browser, it redirects to google
homepage.


Have you ever experienced something like this ?
Do you know why the first test case does not redirect to google homepage ?

Cocoon version is 2.1.5


Thanks very much for your help.

Best regards,

Antoine Larcher



Have you ever experimenced this kind of thing :


-- 
View this message in context: http://www.nabble.com/Cocoon-redirect-tf2177115.html#a6019469
Sent from the Cocoon - Dev forum at Nabble.com.


Mime
View raw message