Hi y'all,
I just deployed a cakePHP application to a client's fatcow webspace.
However, now the admin route's http authentication stopped working. In
the beforeFilter of the AppController I have:
if (isset($this->params['admin'])) {
$this->Security->requireLogin(
'*',
array('users' => array("admin" => "password"),
'type' => 'basic',
'realm'=>'admin')
);
$this->Auth->allow();
$this->layout = 'admin_default';
}
When I direct my browser to an admin page, I get the authentication
window, but when I put in admin and password the window just pops up
and prompts me over and over again.
I guess, fatcow is running its PHP under CGI. Could this be why the
Security component is bailing out now? Is there any way to get it
working again?
Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---