Doesn't Work No Matter What I Do

Discussion in 'Setting-up protection' started by dropshipvideo, Nov 27, 2003.

  1. I just can't get this to work. I get it installed fine and can add products and members but whenever a member tries to access a protected area there is a login box that pops up and the user name and pass word won't work.
  2. alex-adm

    alex-adm Guest

    You have specified incorrect filepaths in your .htaccess file. Please go to
    aMember CP -> Info and some URLs to get example of working .htaccess file.
  3. Top

    Top Guest

    Hi,
    I have the same problem... :(

    I have gone to to aMember CP -> Info and some URLs and copied & pasted the info for a good .htaccess file into the .htaccess file for my members dir.

    Gotten PW auth failed error message.

    I have copied and pasted the AB path from my site admin-file manager into the .htaccess file and recieved the same error message...

    I setup Apache to handle UN & PW and it works fine. (other than the manual setup stuff) :lol:

    any suggestions would be helpfull... :unsure:

    Thanks
    Top
  4. alex-adm

    alex-adm Guest

    Please check that "Require group" line in .htaccess contains actual product numbers.
    Please check that your member has at least one ACTIVE subscription to a product mentioned in .htaccess.

    If nothing helps, paste the following files here:
    - your .htaccess
    - amember/data/.htpasswd
    - amember/data/.htgroup

    these files shouldn't contain any sensitive info - you will see. If files are hidden, use webhosting control panel to get them.
  5. CitiVibe

    CitiVibe Guest

    No mather what I try I can't seem to log in. Here are my files.

    .htaccess

    AuthType Basic
    AuthName "Welcome to the members area of Sparkle Nguyen"
    AuthGroupFile home/virtual/site19/fst/var/www/html/amember/data/.htgroup
    AuthUserFile home/virtual/site19/fst/var/www/html/amember/data/.htpasswd
    Require group PRODUCT_1 PRODUCT_2 PRODUCT_3



    - amember/data/.htpasswd

    citivibe:c0onz2XZrsXE6



    - amember/data/.htgroup

    PRODUCT_3: citivibe
  6. alex-adm

    alex-adm Guest


    AuthGroupFile home/virtual/site19/fst/var/www/html/amember/data/.htgroup
    AuthUserFile home/virtual/site19/fst/var/www/html/amember/data/.htpasswd

    !!!!!!!

    it should be
    AuthGroupFile /home/virtual/site19/fst/var/www/html/amember/data/.htgroup
    AuthUserFile /home/virtual/site19/fst/var/www/html/amember/data/.htpasswd
  7. CitiVibe

    CitiVibe Guest

    I didn't even notice that. I figure it would end up being something simple. Thanks for the quick responce.
  8. mussussu

    mussussu Guest

    Cannot protect directory

    HI, I tried everything I have read and I cannot protect my directory, My directory is in www.netxtrem.com/trucos and the file to protect is trucos.htm
    I placed the htaccess file inside the trucos directory and this is what I wrote in it:
    AuthType Basic
    AuthName "trucos para la pc- possible the same for entire site"
    AuthUserFile /home/www/netxtrem/amember/data/.htpasswd
    AuthGroupFile /home/www/netxtrem/amember/data/.htgroup
    Require group PRODUCT_1
    what am I doing wrong?

    Im using the free version of amember, hopping to upgrade
  9. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    I see you already renamed protected folder - it is really good idea ;)

    Please email FTP details to support@cgi-central.net, we will help.
  10. Scooby

    Scooby Guest

    Just for future reference I'd previously set up amember not to encrypt passwords in the .htpasswd file and it never worked properly. I got the same error as the above posters
    As soon as I changed it so amember encrypted the passwords it worked fine, the .htpasswd file seems to like encrypted passwords ;)
    I don't know if this is a relevant point but it worked for me
  11. joe-schmoe

    joe-schmoe Guest

    I have the same problem here as most people in this thread. i copy/pasted the .htaccess sample thats found in the CP to an .htaccess file and placed it in a directory that I want to protect. The "require group" does point to an actual product number with one active subscriber on. And paths to .htaccess and .htgroup are correct!

    The pop-up login prompt keeps on rejecting the user even though the correct login info is given.

    Im really stumped! :confused: , im using the free version btw..

    .htaccess
    AuthType Basic
    AuthName "Members Only"
    AuthUserFile /home/yahoopin/public_html/amember/data/.htpasswd
    AuthGroupFile /home/yahoopin/public_html/amember/data/.htgroup
    Require group PRODUCT_4

    .htgroup
    PRODUCT_4: julie​

    .htpasswd
    julie:1234​

    Alex, I hope your good mood for giving support to freeloaders like me is still good for one more shot! :D
  12. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You have set to use not-encrypted passwords while you are NOT ON WINDOWS platform and it is reason for trouble.

Share This Page