Wednesday, April 3, 2013

Re: password protect entire site

The problem is with your invalid Apache rules. This has nothing at all to do with Cake. What you are attempting to do is block access *before* Cake is passed the request from Apache.


On Mon, Apr 1, 2013 at 4:38 PM, cyboman <allanmon@gmail.com> wrote:
Thanks for all the replies. I still don't see a working htaccess hack here. Auth would work but it's already configured for the admin section, I'm not sure how to easily roll that out for the entire site and then remove it. Doesn't seem very straight forward where a htaccess password protect would.
It looks like cakephp needs apache configured rather specifically.

On Monday, March 18, 2013 7:23:43 PM UTC-4, cricket wrote:
On Sun, Mar 17, 2013 at 6:29 PM, Eduardo Moreira <edua...@gmail.com> wrote:
> Why dont you use the cake Auth component?

Using Apache's authentication while it's being worked on means that
nobody sees _any_ part of the site. And Cake's authentication may not
be configured properly.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: