I just would like to know if Im doing something wrong with my website development project.
I have the site live now but i want security enabled as my host has Apache server i went with .htaccess for security setup
I made a .htaccess file to secure a folder and request userid and password but using .htpasswd
.htaccess file points to the right folder where both .htaccess and .htpasswd are for eg. /home/mysite/.htpasswd
my .htpasswd contain just the userid and passwords eg. admin:sugarsweet
when i try to access those pages in the secure folder the login widget pops up but no matter how many times i add the correct user and password it does not let me access the folder.
so i guess my question will be do i need to add a script to the pages? i though all i need it to do was make this two files and point them to right place.
my .htaccess file code looks like this:
AuthName "My Protected Area"
any recommendations will be highly appretiated,
thank you all,