Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem protecting resources with basic authentication

Shraddha Jain
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to protect some resources on my web page using basic
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
the group file looks like this

admin: x:998:abc,xyz

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.

where am i going wrong?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic