Solved

Apache Basic External Authentication: Allow Two Users

Posted on 2011-09-09
2
226 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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