Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8582647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:20:40+00:00 2026-06-11T21:20:40+00:00

I have a site hosted on hostgator that I’ve set up with a directory

  • 0

I have a site hosted on hostgator that I’ve set up with a directory to use htaccess/htpasswd for authentication. It’s working fine but only for a user named test.

Here’s the relevant htaccess

<filesMatch "(-priv)">
    AuthType Basic
    AuthName "Private Area"
    AuthUserFile /home/username/public_html/site/test/.htpasswd
    Require user test
</filesMatch>

and the htpasswd has 2 users

test:ovCvloB9kYgBQ
admin:RxvCRMqtdryys

I can log in using the test user but if I use any other name authentication fails. I can change the password for the test user and authentication reflects the change. The behavior is consistent across browsers and IPs.

Is there any way to debug this?

And before you say it, I know not to put the .htpasswd file above webroot, this is a test setup.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:20:42+00:00Added an answer on June 11, 2026 at 9:20 pm

    You have Require user test

    Change to Require valid-user

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site that is hosted in shared hosting environment. They use a
I have a web site hosted on IIS with windows authentication. I am trying
We have a classic ASP site that is been hosted in IIS 7.5. I
I have my site hosted on IIS hosting. Site has feature that needs calling
I have a site that is going to use Wordpress within the main server
We have a site hosted in IIS6 that we built using the .NET 1.1
I have a site hosted by GitHub Pages that uses Jekyll, and I've been
I have a site that is hosted on inmotion hosting and requires a phpMailer
I have a site hosted by a windows server, I usually use a linux
I have a site [hosted on DreamHost], using WordPress for the main content, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.