Subject: | an idiot question about HTTP Auth |
Posted by: | Lawrence Krubner (lawren…@krubner.com) |
Date: | Fri, 11 Jul 2008 |
Suppose I have a folder called "contentingester".
Suppose inside of that folder I put an .htaccess file and inside of that
I put this:
AuthUserFile /root/bluepie_content_ingester/.htpasswd
AuthName "Content Ingester"
AuthGroupFile /dev/null
AuthType Basic
require valid-user
Suppose I cd to /root/bluepie_content_ingester/ and run this command:
htpasswd -c .htpasswd zippy
Then I type the password twice.
Now I point my browser to the "contentingester" folder on my site.
I can't get in, no matter how many times I type that password.
What am I doing wrong?
I chmoded .htpasswd to 0775 just to be sure the Apache daemon could read
it.
I also thought maybe for some reason Apache just couldn't read stuff in
the root folder, so I re-tried the whole thing using
/usr/local/bin/contentingester/
Still no luck.
What am I missing?