• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

problem protecting resources with basic authentication

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?
A wop bop a lu bob a womp bam boom. Tutti frutti ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!