[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] htaccess on raq 550
- Subject: RE: [cobalt-users] htaccess on raq 550
- From: BSmith@xxxxxxxxxxx
- Date: Thu Nov 21 14:53:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
.htaccess <<< Explained
#Access file
order allow,deny
allow from all
require group site2
Authname WebStats
Authtype Basic
AuthAuthoritative off
AuthPAM_Enabled on
Line #1 - just a remark, means NOTHING
Line #2 & 3 - Sets the permission for the directory, basically,
if your authenticated, your allowed in.
Line #4 - Requires user to be in group "site2".
Line #5 - Just the cool little name you see in the box
Line #6 - Tells it to use Basic Authentication
Line #7 - Tells it to authenticate from the User DB (where your users are)
Line #8 - I couldn't tell you to save my life.
Line #9 - YOU NEED PAM ON if you want to use your user database.
This works too ... this is allow authentication from a straight
text file
# Access file
order allow,deny
allow from all
require valid-user
Authname "Go Away Dude!"
Authtype Basic
AuthUserFile /home/sites/somedomain.com/.htpasswd
They all work on the RAQ 550. I use both versions, on my RAQ 550.
Enjoy.
~Brian N. Smith