From http://us.php.net/manual/en/features.http-auth.php:
"The HTTP Authentication hooks in PHP are only available when it is
running as an Apache module and is hence not available in the CGI
version."
On Mar 6, 5:22 am, Sebastian <[EMAIL PROTECTED]> wrote:
> anyone???
>
> On Mar 5, 9:53 pm, Sebastian <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---