I know this topic is pretty old, I need assistance with finding the correct path as well...
.htaccess contains the following lines
AuthName "Restricted Area"
AuthType Basic
AuthUserFile ./home/www/workathometoday.freehostia.com/.htpasswd
AuthGroupFile /dev/null
require valid-user
.htpasswd contains the following lines
testusername:password
I uploaded both files .htaccess and .htpasswd to the directory of /home/www/workathometoday.freehostia.com, when I open
http://workathometoday.freehostia.com it prompts for login username n pass. Have entered them in, unable to login in?
It appears my .htaccess file can't find the path to the .htpasswd
Anyone help please.
Wae.