Solved

Apache Basic External Authentication: Allow Two Users

Posted on 2011-09-09
2
216 Views
Last Modified: 2012-05-12
This only allows user sallysmith access to the web directory.  I want both users sallysmith and joeschmoe to have access.
AuthType Basic
AuthName "Restricted"
AuthBasicProvider external
AuthExternal pwauth
require user sallysmith

Open in new window

0
Comment
Question by:hankknight
2 Comments
 
LVL 21

Accepted Solution

by:
Papertrip earned 500 total points
ID: 36512711
AuthType Basic
AuthName "Restricted"
AuthBasicProvider external
AuthExternal pwauth
require user sallysmith joeschmoe

Open in new window

0
 
LVL 8

Expert Comment

by:pilson66
ID: 36512734
use
require user user1 user2 user3

Open in new window


or
 
AuthName "restricted stuff"
  AuthType Basic
  AuthUserFile /etc/httpd/users

  require valid-user

Open in new window

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Leverage Browser Caching 7 57
RewrteRule using htacess 10 53
LAMP problem identifier tool ? 9 101
phpPgAdmin problem 14 70
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now