-
.htpasswd file
Hello to all. Thanks for taking the time to read this. I am having trouble getting Apache to read my .htpasswd file for a particular directory. I am using a script , amlite, which writes to the .htpasswd file just fine. I tried manually entering into the file with
htpasswd -c .htpasswd name
and then tried to access the protected directory and it still will not let me. The username and passwords are getting written to the file just fine. Apache's log says that the is no file or directory by that name "the name of the .htpasswd file. I do not know what to do. THank you for your help.
-
Are you sure your .htaccess syntax pointing to the .htpasswd file are correct? Remember that the path to the .htapasswd file must be a full path, not relative.