[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] htaccess
- Subject: RE: [cobalt-users] htaccess
- From: Raphael Foo <raphael_foo@xxxxxxxxxxxxxxxx>
- Date: Wed Apr 18 16:29:28 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> How can I make htaccess file for one particular direcotry use
> a new passwd
> file? I've found everything else on setting up the htaccess
> file and it is
> now working by using the general passwd file on the
> server..but I need to
> specify a seperate passwd file for this one situation. Thanks!
>
> Jon
You should specify it in your htaccess configuration file. example :
# Access file
#order allow, deny
#allow from all
require valid-user
Authname 'Prohibited Site'
Authtype Basic
AuthUserFile /home/sites/sitename/users/web/secure/.htpasswd
In which case, your password file would reside in
/home/sites/sitename/users/web/secure/.htpasswd
It checked out fine for me.
-Raphael C.S Foo
FailSafe Corp.