I have an .htaccess protected folder, which seems to work, but if I try to access a php file, it doesn't ask for any username or password. Any other file extension and the htaccess seems to work. All of my HTM, HTML and .txt files require username and password. I even called a friend to get him to check it from his computer and the same problem.
Does .htaccess not work with php? Am I missing something?