Password protect directory
Posted: Thu Jun 19, 2008 10:03 pm
Hi,
I am trying to protect a directory with .htaccess, but it wont accept my user and pass..
This is what I have in my .htaccess file:
and I have a dir called "pass", and my .htpasswd file within that dir, but it just wont let me in when I enter my user and pass, any ideas?
I am trying to protect a directory with .htaccess, but it wont accept my user and pass..
This is what I have in my .htaccess file:
Code: Select all
AuthName "Restricted Area"
AuthType Basic
AuthUserFile pass/.htpasswd
AuthGroupFile /dev/null
require valid-user