Hi,
Here's a simple solution:
Create the .htpasswd file in the directory where you want access only to
authorized users:
.htpasswd:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /etc/apache/passwd
require valid-user
The apache package has a utility called 'htpasswd' -- this is what you'll
use to make username:password sets and write it to /etc/apache/passwd:
htpasswd -c /etc/apache/passwd username
I hope this helps.
-----Original Message-----
From: Jun Tanamal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 10:08 AM
To: [EMAIL PROTECTED]
Subject: [plug] authentication
I want ideas and tips on how to setup .htaccess /htpassword to work with
our system passwords so that a certain user can get into a secured page
and once logged-in to the intranet (we are using OCS) at same the user
gets authenticated and can view it.
Thanks in advance!
Jun
_
Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]