I'm having the same issue, so I'll revive this.
I'm trying to password protect my awstats directory, for obvious reasons.
On some of my sites it works fine. When I try to access that directory in my browser, a login window pops up, I enter username and password, and I'm in.
On some sites, once I fill in the info, the window pops up again with the fields cleared, and after a few times, I get this error:
Forbidden
You don't have permission to access /awstats/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
On other sites, I get that error with no login window ever appearing.
All the sites are on the same host and server, some even in the same hosting account. So I can't figure out why it is only working on some.
Any ideas? I'm following the same steps on all the sites, so why do I get 3 different results? Yes, I've tried doing it over, so it's not a matter of entering the wrong password.
Does the username/password have to be the same as I use for DirectAdmin? And why does it say the username is optional on the screen to set up the password?
Thanks.