Hi,

there was a post that says:

"One, as far as I know, undocumented advantage with admin routes is
that
you can easily password-protect them with http authentification. If you
set up .htaccess to password-protect a directory called 'admin' in your
root directory (so alongside 'cake' and 'app') then all of your admin
routes will have this simple form of protection."      by meek

So i'm wondering.. is this true?

I tried it with /admin directory with .htaccess in it and .htpasswd ...
which works but instead of entering the admin section i'm getting in
the /admin directory.

Then i deleted the /admin dir and set
<Directory "...blabla/app/webroot/admin">
      ( the content of the .htaccess file that was in the /admin dir)
</Directory>
In this case my admin section works but it's not password-protected.

Any other way to do the protection with http autentification ?

thanks.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to