welcome: please sign in

Revision 1 as of 2005-12-29 22:09:43

Clear message


Let's pretend that your username is billy and you have a website, www.billy.com. The website's files are in the directory /home/billy/www/billy.com/. You want to require a password for www.billy.com/private and give access to yourself and two friends, joe and mary. Here is what you must do:

BasicAuth /home/billy/www/htpasswd Billy's friends only. Require valid-user /Directory }}}