I have some PDF's in a few different directories on my web site and I dont really want all and sundry being able to access them. I thought it would be simple enough to do with .htaccess but I'm having numerous problems. I have tried using the wizard through TSO Host's control panel, and I have also tried writing my own, but neither seem to work. Once set up, when I try to access the directory, I just get a 404, rather than the passowrd box.
Here is the code I'm using in the .htaccess:
Then the encripted password is in .passwd. I have used this method loads of times, and never encountered any problems, am I missing something really basic? If someone could shed some light on this problem I would be extremely grateful.

Here is the code I'm using in the .htaccess:
Code:
AuthType Basic
AuthName "Restricted Area"
AuthUserFile "/home/usr/.htpasswds/pdfs/passwd"
require valid-user
