Password Protection, .htaccess

koalabear - January 6, 2009 - 22:03

Hi,

I'm trying to password protect a directory using .htaccess and .htpasswd, I know the code i'm using is fine because I have it on another site (non drupal) and it works fine. Any ideas what I might be doing wrong?

This is what the code i'm using looks like:

AuthUserFile /home/me/public_html/mywebsite.com/pictures/.htpasswd
AuthType Basic
AuthName "My Secret Folder"
Require valid-user

never mind, I figured out

koalabear - January 6, 2009 - 22:17

never mind, I figured out how to do it here:

http://www.thesitewizard.com/apache/access-non-drupal-folders.shtml

in case anyone else needs to do this...

 
 

Drupal is a registered trademark of Dries Buytaert.