Howdie. I'm a newbie to this forum so if I am posting to the wrong thread, please feel free to direct me to the proper thread for my question(s).
I am "trying" to implement .htaccess on a specific directory which will eventually contain some personal documents. I have had some "luck" with the .htaccess portion ... meaning when I attempt to access the specific directory I get the pop-up window asking for User Name and password. While I have created a password file (using the Password Generator that was available at one of the many sites I read), what I have implemented does NOT work correctly. I enter my User Name and the password, but I get a login failure, etc.
I'm guessing I've got either the path to the password file (.htpasswd) incorrect, but do not know for sure. On a temporary basis I put the .htpasswd file in the same directory as the .htaccess file. I don't think this is necessary a good idea, but am doing so now because I am first trying to get it to work and understand the overall mechanism.
Sorry I'm long winded here, but here is what my .htaccess file looks like:
"AuthUserFile /www/htdocs/documents/.htpasswd
AuthGroupFile /dev/null
AuthName "Dirigo's Documents"
AuthType Basic
require user Bo
require user Dirigo"
and then I have a .htpasswd file that contains Bo and Dirigo with the corresponding encrypted passwords.
I'm missing something here for sure, but have no idea at this point what. I've read a number of web sites, but ... I'm still missing something, right?
If possible, would someone be kind enough to point me to the "clearest tutorial" they've ever read or give me a simple example of how the two should be set up in order to accomplish my basic quest here.
No, I don't know much about Apache and found their web site full of stuff, but not too easy on my frustrated brain!
Thanks in advance.
