Can't get realms to work (OS X Server 10.4.10)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux