While I do testing I want to password protect my whole site.
my first question is the ultimate newbie question: "what is my username?" All the instructions for pathnames say "/home/USERNAME" or some such, but the only username I have been given is my ftp and email usernames. Is this the same thing?
Anyway, assuming answer to above is yes...
I have created an .htaccess file that looks like this:
AuthName "This site is currently password protected"
I put this file at the top of my directory that is named the same name as my domain.
Then, in my root directory (I am using the net2ftp user interface. also at the this level is maildir and logs)
I created an .htpasswd file that looks like this:
... but the site won't let me in. Why?
Also, do I have to put a new .htaccess file in each directory I want to protect, or does the one at the top level apply to all it's children?
One more: I don't want to allow directory listings of subdirectories within my domain. How do I do that?