Hi All,
I'm working on implementing the security component for the follow
functionality:
My site will have a "donate" page that will accept CC's and such so
need to be https://.
In my controller I'm using the beforeFilter with requireSecure and the
action I'm securing. My blackHoleCallback function is as follows:
function secureAction($param)
{
if (!env("HTTPS")) {
$this->redirect("https://".env('HTTP_HOST')."/".
$_GET['url']);
}
}
The redirected URL looks good except I get Not Found errors. All links
after I've switched to https get the same error. I've got to be
missing something that is like stupid simple, but obviously I'm
missing it. Is this a code problem(me not using cake correct, not an
internal cake code problem!!) or a server configuration issue?
Any hints or help would be wonderful!
Thanks, Russ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---