Results 1 to 2 of 2

Thread: Website Protection with .htacceess and .htpasswd

  1. #1
    Join Date
    Jul 2012

    Website Protection with .htacceess and .htpasswd

    I have created the .htaccess and .htpasswd files, and when I reach my website I am prompted to enter my username and password. I enter my username and password, but the pages I attempt to access show 404 errors. Can someone show me what may be wrong or point me in the right direction?

  2. #2
    Join Date
    Mar 2011
    This has nothing to do with HTML, so you might not get the help you need here.

    One thing to keep in mind is that unless the .htaccess and .htpasswd files are in the same directory, you should probably use a complete path (starting with a '/') in the 'AuthUserFile' directive. And be sure that you've properly encoded the user name/password pair value in the .htpasswd file.

    If this doesn't help, post your question again in the Server Management forum here, along with the contents of your .htaccess and .htpasswd files.
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center