htpasswd logging in problem

Discussion in 'Setting-up protection' started by johnny0831, Aug 15, 2008.

  1. johnny0831

    johnny0831 New Member

    Joined:
    Aug 15, 2008
    Messages:
    8
    I protected a few folders so far with htpasswd and when I type in to URL on my browser the gray box shows with the login box. I put in my username and id and it doesn't let me login with any of the accounts I have? Is there something I need to modify in order to login.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Did you add a product to those users that matches the folder?

    David
  3. johnny0831

    johnny0831 New Member

    Joined:
    Aug 15, 2008
    Messages:
    8
    I've added a product through the manage products link. The test account is active but when I type in my username and login to the login popup it fails.

    I am able to login through the actual login page. Once I login and click on the subscription the login popup shows again. Is there a way to prevent this or should I use another protection method for the folders? I am a newb on this. Any help would be appreciated.
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    [post has been removed by author]
  5. johnny0831

    johnny0831 New Member

    Joined:
    Aug 15, 2008
    Messages:
    8
    so weird it seems to work right now but when I type in the username and login in the popup it'll work but if the login and password is saved it doesn't login.

    What is mod_rewrite? I'm beginning to think using htpasswd is the wrong way to go and would rather just have it go to an html login page instead of having that popup.
  6. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    I'd suggest you use mod_rewrite. This will give you the amember login as opposed to the popupbox.

    htpasswd is good for paid podcasting :)

    David
  7. johnny0831

    johnny0831 New Member

    Joined:
    Aug 15, 2008
    Messages:
    8
    Will try it. Also do I have to modify any of my codes doing this and wouldn't the new_rewrite method work just the same?
  8. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    the new_rewrite method is independent of your code, you should be fine.
  9. johnny0831

    johnny0831 New Member

    Joined:
    Aug 15, 2008
    Messages:
    8
    I tried the new_rewrite method and the login popup still shows. Do I have to do anything with php_include+mod_rewrite method? I'd like it to just go to the amember login instead.

Share This Page