[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] .htaccess
- Subject: RE: [cobalt-users] .htaccess
- From: "Dave" <daver1@xxxxxxxxxxxxxxx>
- Date: Thu Dec 7 20:30:38 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
This is what I use on our RaQ3 - this also works on RaQ2
# Access file for /home/sites/site21/web/schlumberger/ (require user admin)
order allow,deny
allow from all
require user admin
Authname Schlumberger
Authtype Basic
The #Access file comment is optional
the Authname can be whatever you want
where is says "require user admin" admin can be replaced with whatever user
you want to have access. You can even specify multiple users onlu seperated
with spaces. eg: "require user admin jhanson johnsmith" Hope this helps ya
Cheers, Dave
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Simon Browning
Sent: Thursday, December 07, 2000 6:27 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] .htaccess
> I want to protect a directory for a client.
> And I want to use the normal password (admin page)
>
> I get an internal server error.
This is the .htaccess file I'm using for password protection which works
okay:
# Access file
order allow,deny
allow from all
require valid-user
Authname Secure
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /path-to/.htpasswd
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users