How to Implement Apache Digest Authentication
Posted on 2009-05-14
I decided to repost this, because I had accidentally assigned it to the wrong zone(s).
I am looking to password protect my entire www directory. I am assuming that by protecting the root directory, all sub directories will in turn be password protected. If I'm wrong on that, please let me know. I have read a little bit about this, but I cannot make it work for me. Here's what I've done:
I have created a .htpasswd file located in c:\wamp\pass It looks like this:
I created an .htaccess file located in the www root dir which looks like this:
Require user test
I uncommented this line in my .conf file:
LoadModule auth_digest_module modules/mod_auth_digest.so
I am not getting any results after I restart my server. My page still loads up without a password prompt. I'm sure it's something stupid that I'm doing; please let me know what I need to do. Thanks for reading.