The .htpasswd is in the root directory. The .htaccess is in the sitedirectory folder.
When you visit the url, the prompt comes up and asks you for the user/pass. But when I ented them, it asks again. So, clearly something got messed up, but I can’t think of what it could possibly be. Anyone?
Sorry if any of these questions sound patronizing, not my intent;
Do you have multiple .htaccess files in root/child directories to ‘sitedirectory’ that also contains an authtype?
Do you have any redirects or header locations inside ‘sitedirectory’ files?
Does your apache follow symlinks?
Oh, it’s good habit to tell apache that there’s no group file;
AuthGroupFile /dev/null
And it’s also very good practice to keep your .htpasswd file in the same folder as the .htaccess file when you nest them in directories like that. So your .htpasswd should get redone and located in /home/user/sitedirectory/