Strange, these 3 redirect routes  only worked form me with core.php 
Configure::write('debug', 2);  
Otherwise:

Not Found
Error: The requested address '/new/aaaa' was not found on this server.

server is : cakephp 2.0, ubuntu nginx php5.3.5 fpm

Andras Kende

On Oct 22, 2011, at 4:16 AM, majna wrote:

> Can someone please confirm that redirect route is working as described in 2.0
> http://book.cakephp.org/2.0/en/development/routing.html?highlight=router#redirect-routing
> 
> Some examples that should be working:
> 
> Router::redirect('/new/*', 'http://google.com', array('status' => 302));
> Router::redirect('/old/*', array('controller' => 'pages', 'action' => 
> 'display' ,'home'));
> Router::redirect('/older/*', '/pages/display/home');
>  
> I'm getting missing Controller exception and notices from Router. All Router 
> test are passed.
> Windows and Ubuntu, PHP 5.3.5
> 
> tnx
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to