On Mon, 14 Feb 2000, Paul Lussier wrote:
> I have a link that I want to restrict access to, so that when someone clicks
> it, they must enter their username and password. I know there's something
> about an htpasswd file somewhere, but I don't know how to use it.
<Directory /home/httpd/htmp/secret>
Options Indexes Includes ExecCGI
AllowOverride None
AuthName "Secret Hideout"
AuthType Basic
AuthUserFile /home/httpd/admin/passwd
AuthGroupFile /home/httpd/admin/group
# choose one of the following
require user me myself eye
# require group secretagents
# require valid-user
</Directory>
--
John Abreau / Executive Director, Boston Linux & Unix
Email: [EMAIL PROTECTED] / URL: http://www.blu.org
ICQ#28611923 / AIM abreauj
-----------------------------------------------------------------------
"Working with NT is like trying to tune a watch wearing oven mitts.
You can't get your fingers inside like you can with UNIX.
-----------------------------------------------------------------------
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************