Greetings Earthlings :)
 
I have redhat 8.0 and apache 2.0 (duhhhh I think). I have created a password file with the following command
 
[root@local host]# htpasswd -c /etc/httpd/users client
 
and the user file is there
 
I go to my html dir
 
cd /var/www/html
 
and create a .htaccess file with the following
 
 AuthName "restricted stuff"
  AuthType Basic
  AuthUserFile etc/httpd/users

  require valid-user
 
and put it in the html dir hoping to protect my top secrete files yet I am still on the net with my cyber pants down around my ankles. Please help ! What did I miss and how do I do it ?
 
Blairskimo

Reply via email to