• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.htaccess and .htpasswd

 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a created the files .htaccess and .htpasswd for webfolder.
Its nicely prompts the below dialog box

but when i enter the correct username and password, its just keep displaying the above dialog box again??

I have generated .htpasswd using this tool. ?

Could someone please point me what i am doing wrong?

I am using a unix(free bsd) server.

Thank you.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved it...let me know if you face the same problem.
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Balaji. I've had that problem, but it usually happens when I've forgotten the correct password.

So what was the problem after all?
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Balaji. I've had that problem, but it usually happens when I've forgotten the correct password.



So what was the problem after all?


Its a path problem,intially i gave it like
AuthUserFile .htpasswd
then i gave the full path like
AuthUserFile /home/guest/balajidl/public_html/protectedfolder/.htpasswd
it worked.
I guess AuthUserFile ./.htpasswd will also work

I guess i am eating lot of Windows.

Thanks Pauline
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic