I am trying to setup a secure area on our commercially hosted web site via .htaccess. The ISP says this is supposed to work, but I have not had success. The .htaccess file is being read because I am being prompted for user name and password. However, I cannot get into the directory. Error logs say "No such file or directory: Could not open password file: /www/.htpasswd"
As an ISP customer, I do not have access (read or write) to httpd.conf. When I connect via ftp, my current directory is /www. In that directory, I have a .htpasswd file. I have a subdirectory 'secureaccess' in www (/www/secureaccess). In /www/secureacess/ , I have a .htaccess file.
My .htpasswd file is:
My .htaccess file is:
AuthName "Password Required -- "
I have wide-opened the permissions on .htaccess and .htpasswd and the directory /secureaccess/.
The ISP tech support says that /www is the root that I should use. (From /www, however, I can cd.. all the way back to:
I've tried every path I can think of, but am apparently still not seeing the .htpasswd file.
Any suggestions/comments are appreciated