You need to use /the/full/path/to/app/.htpasswd. On May 12, 11:17 pm, Jeff <[email protected]> wrote: > Hi, I have the following in my /app/webroot/.htaccess file, as well as > a matching .htpasswd file in the correct directory per multiple online > how-to's, but my password protection is not working. Can someone tell > me what I am doing wrong? > > ****/app/webroot/.htaccess**** > > AuthUserFile /app/.htpasswd > AuthName "Restricted Area" > AuthType Basic > require valid-user > > <IfModule mod_rewrite.c> > > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > > </IfModule> > > I saw one tutorial that said I needed to find httpd.conf or something > to that effect, but I don't see anything. Maybe this config file > doesn't exist with the Cake setup.... > > Any help is GREATLY appreciated. > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > 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 > athttp://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
