This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem protecting resources with basic authentication  RSS feed

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
Boost this thread!