problem protecting resources with basic authentication
posted 9 years ago
i want to protect some resources on my web page using basic authentication. i have defined groups in the file \etc\group
defined usrs and passwords in \usr\local\apache\passwd\passwords file in the httpd conf file i have specifie dthe follwing directive for each of the directories i want to protect <Directory "/home/confidential> AuthName "confidential" Authtype Basic AuthUserFile \usr\local\apache\passwd\passwords AuthGroupFile \etc\group require group admin </Directive> the group file looks like this
after restarting the server, when i try to acess this file , i get the dialog box challenging for the user name password, but i cannot login as abc or xyz who are authorised to recieve the document.