WordPress.org

Ready to get started?Download WordPress

Forums

no2-htaccess-user-sync
Htpasswd binary and htuser file? (3 posts)

  1. nli
    Member
    Posted 3 years ago #

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

    "Path to the htpasswd binary (absolute)"
    and
    "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.
    and
    "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?

    http://wordpress.org/extend/plugins/no2-htaccess-user-sync/

  2. nli
    Member
    Posted 3 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):
    /domains/example.com/folder/.htpasswd

    Path to your htuser file (absolute):
    /domains/example.com/public_html/blog/.htaccess

    Does not work. I get the same error messages:

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

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

  3. nli
    Member
    Posted 3 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

About this Topic