Password Protection

  • FF50
  • Newbie
  • Newbie
  • FF50
  • Posts: 8
  • Loc: Maryland

Post 3+ Months Ago

Hello Everyone,

I am trying to password protect a directory on my site. I placed an .htaccess file in the directory with:

AuthType Basic
AuthName "XXXXXXX"
AuthUserFile /xxxxxx/.htpasswd
require valid-user

I then went to the Password Generator at to get a encrypted password which I placed in an .htpasswd file as such:


When I try to access the protected page putting in my username and password, it returns:

error 401: Unauthorized

The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource.

I have looked at a few articles concerning this error, but still don't understand. Hope someone can help.



Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 21 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-2017. Ozzu® is a registered trademark of Unmelted, LLC.