Leeram
5-24-05, 07:24 PM
I've read as many posts and tutorials as I can find about this and have been trying for hours to get the .htaccess and .htpasswd files to work, but no matter what I try I get the same result; when I access the admin directory I get a Windows login box but when I type in the username/password combination the box just pops back up, after three attempts it fails.
I assume that because I get the password box appearing that the .htaccess file is in the correct place and is definitely ascii.
I have tried everything I can think of, is there anyone here who can help me?
The files are currently configured thus:
.htaccess
AuthUserFile /www/u/username/.htpasswd
AuthGroupFile /dev/null
AuthName "If you are not the shop admin then please leave"
AuthType Basic
require user user1
and the .htpasswd is
user1:password
I should probably mention that I am using WIndows XP SP2 and IE 6 to access the site.
Any help greatly appreciated. I know it's something I am doing incorrectly but I cannot work out what.
Cheers
Lee
I assume that because I get the password box appearing that the .htaccess file is in the correct place and is definitely ascii.
I have tried everything I can think of, is there anyone here who can help me?
The files are currently configured thus:
.htaccess
AuthUserFile /www/u/username/.htpasswd
AuthGroupFile /dev/null
AuthName "If you are not the shop admin then please leave"
AuthType Basic
require user user1
and the .htpasswd is
user1:password
I should probably mention that I am using WIndows XP SP2 and IE 6 to access the site.
Any help greatly appreciated. I know it's something I am doing incorrectly but I cannot work out what.
Cheers
Lee