|
Hi, I am trying to password protect a folder on my webspace.
But its not accepting my username/password.
Here is my .htaccess file:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/editz/XXXXXXXX.co.uk
AuthGroupFile /dev/null
require valid-user
I have a few domains hosted on the same webspace, could this be causing problems?
I am not sure what the path of the .htpasswd file is.
I have tried moving it about but it doesnt matter what the location is, it doesnt work.
I have SSH'd into the directory where the file is, done a 'pwd' and used that path but it doesnt work.
Can anyone help?
Thanks.
|