Protect website url

Discussion in 'Setting-up protection' started by pixeldust, Mar 26, 2012.

  1. pixeldust

    pixeldust Member

    Joined:
    Nov 1, 2010
    Messages:
    45
    Hi there,

    I'm trying to protect a simple url like:

    http://www.mydomain.com/members

    But i cant seem to find how to achieve this?

    It's a basic .php file
    Can anyone help me with this?

    Thanks in advance!
  2. pixeldust

    pixeldust Member

    Joined:
    Nov 1, 2010
    Messages:
    45
    What i try to achieve is this:

    When visitors enter http://www.mydomain.com/members they will see the member login from aMember.
    When a paid member enters his credentials he will see the content of the member page.

    Kind Regards,
  3. pixeldust

    pixeldust Member

    Joined:
    Nov 1, 2010
    Messages:
    45
    NOTE: Our website runs on nginx
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  5. pixeldust

    pixeldust Member

    Joined:
    Nov 1, 2010
    Messages:
    45
    Hi Alexander,

    Thanks for your help! will try this
  6. expertdesignation

    expertdesignation New Member

    Joined:
    Sep 27, 2011
    Messages:
    2
    I have almost the same issue. I'm trying to protect mydomain.com/members and only be seen when a "member" is logged in, but it's showing and not redirecting to login area of aMember. I've been running with this issue for days. Please help me. Thank you!
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Do you use nginx as webserver instead of Apache ?
  8. robiko997

    robiko997 New Member

    Joined:
    May 11, 2009
    Messages:
    13
    I have the same problem, I want to protect all files in one folder ... not only php files...Im using nginx instead Apache..so I dont know how to do it ? probably need to prepare nginx rules... someone can help, thanks. I have amember version 3, newest.
  9. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact us in helpdesk, we will provide exact example of nginx rules required to make new_rewrite protection working .
  10. chriswallace

    chriswallace New Member

    Joined:
    Feb 6, 2010
    Messages:
    16
    I have this same problem. How can I set up nginx rules for this?

Share This Page