I have a problem setting up my apache server. Lets say I have a directory (lets call it "protect"), and inside this directory I have a subdirectory ("unprotect").

A problem arises when I want to password protect the directory "protect" whilst leaving the sub-directory "unprotect" unprotected.

I have both directories as I want them however when I go to the "unprotect" sub-directory in my web browser it asks for a password, however X-ing out of it does not create a 401 error (and it does in the protected main directory).

Can I have it so that it will not prompt for a password in the "unprotected" sub-directory?