[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] .htaccess
- Subject: RE: [cobalt-users] .htaccess
- From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
- Date: Fri Mar 8 20:48:08 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
> I am trying to protect a directory and found a thread in the
> archives that I have followed but am still having problems.
>
> My htaccess file looks like this:
>
> AuthName Protected-Directory
> AuthType Basic
> AuthUserFile /home/sites/site2/web/clients/.htpasswd
> <limit GET POST>
> require valid-user
> </limit>
> ErrorDocument 401 /noauth.htm
>
You need AuthPAM_Enabled off
I'm not sure if it's required, but I also had AuthGroupFile /dev/null
I would also recommend putting the .htpasswd file above the /web
directory so it's not web accessible.
http://www.cgi-factory.com/password/index.shtml is a script I installed
for a client to write to the authorized list.
If it's a RaQ4 you need to make a change to the AllowOverride field.