I ran into the following problem. I have a folder called 'old' in my SS root, where the old website of a client is located. Clients wants to be able to access the old site, so here's what I did:
1. Added .htaccess in /old with the following code:
<IfModule mod_rewrite.c> RewriteEngine Off </IfModule>
=> I can access the folder /old!
2. Added the following code where 'user' is the correct site name:
AuthName "Restricted Area" AuthType Basic AuthUserFile /home/user/.htpasswds/.htpasswd require valid-user
=> I constantly receive the 'Page-not-found-page'.
Can anybody tell me why? Have double checked the correct user name (path) and location of .htpasswd. Both .htaccess and .htpasswd have chmod 644.