htaccess and htpasswd query

  • dmc_gryphonit
  • Newbie
  • Newbie
  • dmc_gryphonit
  • Posts: 12

Post 3+ Months Ago

its been a long time since i used .htaccess with .htpasswd but i need to as a quick fix for now. i am having a little problem in that when i put in the user name and password i get this error:
Code: [ Select ]
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.


my .htaccess is this:
Code: [ Select ]
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /var/www/html/pwdtest/.htpasswd
Require valid-user
  1. AuthType Basic
  2. AuthName "My Protected Area"
  3. AuthUserFile /var/www/html/pwdtest/.htpasswd
  4. Require valid-user


and my .htpasswd is this:
Code: [ Select ]
danny:$apr1$hpCJd/..$rXXEo/Xlpzt4NITZFWaZQ1


does anyone know what is going wrong? both are uploaded into the same folder for testing.

thanks in advanced
  • dmc_gryphonit
  • Newbie
  • Newbie
  • dmc_gryphonit
  • Posts: 12

Post 3+ Months Ago

sorry, redited the post as it didnt make sense

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 105 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.