WebsitePasswordExample

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 }}}

WebsitePasswordExample (last edited 2005-12-29 22:09:43 by 66-117-174-98)