[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] htaccess on RAQ3
- Subject: RE: [cobalt-users] htaccess on RAQ3
- From: "Patrick G." <psgraham@xxxxxxxxx>
- Date: Sat Jul 28 22:18:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I'm having trouble getting my htaccess to perform correctly. I have a
> htaccess file in the directory which I wish to protect with the following
> entries:
>
> AuthUserFile /users
> AuthGroupFile /dev/null
> AuthName "Authorised User's Only"
> AuthType Basic
> require bill
>
> my users file in the '/' directory was created with
Why in the / directory, why not /home/sites/site# ?
> htpasswd -c users graham
You have user 'graham' here, but require user 'bill'
Try replacing the require bill line with require valid-user
You may also need to turn PAM off (AuthPAM_Enabled off)
>
> What am I doing wrong please? Is the user 'graham' also required to be a
> valid linux login user?
No.
I have place my .htaccess below for comparison.
AuthPAM_Enabled off
AuthUserFile /home/sites/site#/.htpasswd
AuthGroupFile /dev/null
AuthName "Authorized Users Only!"
AuthType Basic
order allow,deny
allow from all
<Limit GET>
require user MyUser
</Limit>
Hope this helps,
Patrick G.