| David Hostetler 2004-01-19, 6:32 am |
| I have a Mandrake Linux 9.0 server (fully patched thank you very
much), that I want to limit access to a particular directory that has
personal files I need to access from work periodically. (Pics of my
dog, various technical notes and such). So I am trying to set up in
the .htaccess the following directives (in the folder
/var/www/html/private)
AuthType Basic
AuthName "Dog pics"
AuthUserFile /usr/local/apache/passwords
require user dave kim
Satisfy all
order deny,allow
(I found this on http://httpd.apache.org/docs/howto/...tml#basicconfig)
I DO have the users in the passwords file (verified with a quick cat
of the file). And the log in dialog box does come up, but for some
reason when I browse to http://192.168.1.225/private (not the real IP
but you get the idea) I get the password dialog box, but it never lets
me through when I give it my username and password as given to the
htpasswd. So what gives? How do I make this work?
TIA for any help you can give helping nudge along my education.
|