password protect web pages
AuthType Basic AuthName "Some description/name of the Site" require valid-user AuthUserFile /u/user/passwd/anything
Whatever you use instead of "Some description of the sub-site" will appear on the pop-up login box. Replace "user" with your Vex.Net login name. The "anything" can be the name of the directory or something else identifying the sub-site. This allows you to set up other protected sites later.
Now go into your home directory and create a directory called passwd with the command "mkdir passwd". This directory should be accessible to the web browser so set its permissions with "chmod 711 passwd". Run "htpasswd -c /u/user/passwd/anything login_name" putting your login name as login_name to create your first password. You can then add or modify users by issuing the command "htpasswd /u/user/passwd/anything name" for each name you want to give access to. Do not add the "-c" in the command after the first run of the command. Make sure that this file, and the .htaccess file, is world readable with "chmod 644 <filename>."

