[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Problems with .htpasswd



I can't seem to password protect a directory on one of our sites.  I have
both the .htaccess file and the .htpasswd file.  But when I use
/usr/sbin/htpasswd to create a name and password It won't let me log in and
gain access to the area.

Here's what I have in my .htaccess file currently:

#Access file
order allow, deny
allow from all
require valid-user
Authname edit
Authtype Basic
AuthUserFile /my path to the .htpasswd file



I used to have:

Options FollowSymLinks Includes ExecCGI
AddHandler cgi-script .cgi
AddHandler cgi-script .pl

AuthUserFile /home/sites/site#/web/admindir/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic

<Limit GET>
require user mary
</Limit>

I've been testing both of these files and it seems that it will only let
people in that have an account on the machine.
I'm trying to set up a members area and will have hundreds if not thousands
of users that will be added to this list.  I can't go in and add all of them
to the servers as valid users.  How is this sopposed to work?

Thomas