I cant seem to login to the section i have protected as it keeps asking for the username and password again and again.
I cant see an error but you guys might be able to spot one.
I need help, 5 days i have been trying to find the problem to this crazy error that is stopping me from logging in.
This is what i have:
my htaccess file:
AuthName "Restricted Area"
Deny from all
Deny from all
The only other thing I can think of is to make sure your paths are correct to:
And double check permissions on .htaccess and .htpasswd
It may be that the server requires an index page ie: index.php, index.htm, etc etc.
I have ssh access to my servers so I have it easy when setting up protected directories. It's easier for me to fire up vi and create a access file and then run htpasswd to create the .htpasswd file. I have never had to create the .htpasswd file in a text editor.
There are two ways for password protected directories:
I) Through "Web protects directories" in the control panel:
For "web protect a directory" you should have the FrontPage extension disabled first and that is the thing that only can be done from our end and we need a confirmation by the last 4 digits of the credit card.
B- After disabling the front page extension you need to go to "Web protect directory" under your control panel and there you need to create a group.
C- After creating a group you should create users belonging to those groups.
D- After that simply click on the folder you want to protect on the list that appears and you can lock that folder to be accessible only by a certain group.
There is a useful link if you want to do all the above steps manually: