HOWTO enable htaccess in RH73
=============================
by Thomas Chung
last updated 2003-07-12

Source: How do I make htaccess work?

1) create htpasswd file in /etc/httpd for a user "guest"

   # cd /etc/httpd
   # htpasswd -c htpasswd guest
   New password: *******
   Re-type new password: ******
   Adding password for user guest
 
2) create htaccess file in /var/www/html for a directory "restricted"
   
   # cd /var/www/html
   # mkdir restricted
   # cd restricted
   # vi .htaccess

   	AuthName "restricted"
	AuthType Basic
	AuthUserFile /etc/httpd/htpasswd
	Require user guest

3) enable htaccess option in /etc/httpd/conf/httpd.conf

   # cd /etc/httpd/conf
   # vi httpd.conf
   /htaccess (search for "htacces" section)
   AllowOverride All
   :wq (save and quit)

4) reload httpd

   # service httpd reload

5) test htaccess in restricted directory

  http://your-domain.com/restricted
  username: guest
  password: *****