Routes.php is exactly for this reason. See in your app/config dir. Also, a more explanation could help, you haven't explained your problem in more details. Give a simple example then perhaps someone could help you better.
Ketan snow_raph wrote: > Hello, > > I need to redirect to another URL on some conditions (auth failed), > along with a 401 http status (for seo). But http clients (according to > rfc) only redirect with 3xx status, so : 1) redirect('url') sends a > 302, and 2) redirect('url',401) dont redirect browser. > > The idea, then, would be to ~internally reroute~ request to another > controller/view, along with sending the 401 http status. And I'm > unable to do this (tried a lot of weird things : requestaction, > setaction, custom error handler, ....). > > Thanks for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---