I've created a .htaccess and .htpasswd file in a subdirectory of my document root called 'security'. Unfortunately it does not work. I believe that a setting in the httpd.conf is over-riding the .htaccess files placed in subdirectories. Do I believe correctly? Is there a setting to tweak in httpd.conf to allow the .htaccess file to work? Does this not work on WinXP?
.htaccess file contains...
AuthName "Protected Area"
AuthType Basic
AuthUserFile C:/WebDocs/security/.htpasswd
require valid-user
.htpasswd file contains...
jim:$1$Jc5.e2/.$YqoFwFYPA44myMc81Qd.V0
- - picklefish - -
.htaccess file contains...
AuthName "Protected Area"
AuthType Basic
AuthUserFile C:/WebDocs/security/.htpasswd
require valid-user
.htpasswd file contains...
jim:$1$Jc5.e2/.$YqoFwFYPA44myMc81Qd.V0
- - picklefish - -