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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---