0

Hi I have the following in a .htaccess file:

AuthType Basic
AuthName "restricted area"
AuthUserFile /web/clients/.htpasswd
require valid-user

this works in making the directory private, however I get a 403 error and no password/user pop up appears to even give me the chance? Any ideas as to what I am doing wrong, both htaccess and htpasswd are together in the directory I want to protect.

Thanks

  • Maybe you've checked that already but does the web server have at least read access to the folder you're protecting? If not, this would prevent the htaccess from being read and thus, to password dialog. – Wizz Jan 05 '13 at 12:31
  • Yes it does have read access. – user1950979 Jan 05 '13 at 12:37

0 Answers0