Hi,

We need to password protect a directory on our webserver. I changed httpd.conf to AllowOverride AuthConfig, created a password file (users) in /etc/httpd/conf/ created a user name and password, verified the permissions to be 644 on the users file, and put a .htaccess file containing the following in the directory that I want to protect. I stopped and started Apache, but the server still displays pages from that directory without asking for a user name and password.
Here is the content of the .htacces file:

AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/httpd/conf/users
Require valid-user

Any suggestons on how to make this work are appreciated.

Thanks,

Gary

______________________________
Gary Girolimon, M.Ed.
Director of Technology
Goffstown School District
11 School Street
Goffstown, NH 03045
AIM/Skype: ggirol


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to