Apache Basic External Authentication: Allow Two Users

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

LVL 16
hankknightAsked:
Who is Participating?
 
PapertripCommented:
AuthType Basic
AuthName "Restricted"
AuthBasicProvider external
AuthExternal pwauth
require user sallysmith joeschmoe

Open in new window

0
 
pilson66Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.