Htpasswd binary and htuser file? (3 posts)

  1. nli
    Posted 4 years ago #

    In the settings of no2-htaccess-user-sync plugin there are fields for

    "Path to the htpasswd binary (absolute)"
    "Path to your htuser file (absolute)".

    I have .htaccess file in the blog's home folder (http://example.com/blog/.htaccess) which calls for .htpasswd file. However, filling in those details does not help. I get error messages:

    "Error: the htuser file doesn't exist.
    "Error: htpasswd binary not found."

    The .htpasswd has info on users and their passwords (however, it only has one generic username/password for all users and I would like it to get the usernames and passwords from WordPress database there).

    Should I get a separate .htusers file? What should be in there (usernames and passwords are already in the .htpasswd file).

    Is "htpasswd binary" different from a regular .htpasswd file?


  2. nli
    Posted 4 years ago #

    The problem is that I have no idea what is an "htuser file". Shouldn't .htaccess and .htpasswd be enough?

    I tried now to fill in .htaccess for htuser as it is not asked anywhere else and it has the "require user" thing in it.

    I gave their locations in the following way:

    Path to the htpasswd binary (absolute):

    Path to your htuser file (absolute):

    Does not work. I get the same error messages:

    "Error: the htuser file doesn't exist.
    "Error: htpasswd binary not found."

    Any ideas what should I do to make the plugin work?

  3. nli
    Posted 4 years ago #

    It says at plugin page that the plugin is "Compatible up to: 2.7.1". So is my WordPress too up to date? Would it help if I downgraded it back to 2.7.1? Would that be safe if the blog is located behind .htaccess password?

    Would there be compability issues with the main blog on same domain? Intranet blog uses the same user database as the main one.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • no2-htaccess-user-sync
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic