welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
First name of the author of the GNU Manifesto

Edit

WebsitePasswordExample

This page is aimed at Linux novices who want to require that web site visitors authenticate with usernames and passwords to access particular directories. Be forewarned that, using these methods, it will still be the case that any HCoop member can read your private files; this only "protects" directories accessed over the web.

Let's pretend that your username is billy and you have a website, www.billy.com. The 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 }}}