Authentificatin with Apache
===========================
1) Modify http.conf
AllowOverride All /* related directories */
Options Indexes FollowSymLinks /* Index and Symboic Links */
Options Includes /* SSI */
order allow,deny
allow from all
2) Create .htaccess
AuthType Basic
AuthName Administrator
AuthUserFile /usr/local/httpd/htdocs/.htpasswd
AuthGroupFile /dev/null
require valid-user /* only valid user can access directory
*/
3) Create .htpasswd
htpasswd -c .htpasswd USERID
4) Copy .htpasswd and .htaccess to the directory authentificated.