Protect website url

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

  1. pixeldust Member

    Member Since:
    Nov 1, 2010
    Message Count:
    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 Member

    Member Since:
    Nov 1, 2010
    Message Count:
    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 Member

    Member Since:
    Nov 1, 2010
    Message Count:
    45
    NOTE: Our website runs on nginx
  4. alexander Administrator

    Member Since:
    Jan 8, 2003
    Message Count:
    5,909
  5. pixeldust Member

    Member Since:
    Nov 1, 2010
    Message Count:
    45
    Hi Alexander,

    Thanks for your help! will try this
  6. expertdesignation New Member

    Member Since:
    Sep 27, 2011
    Message Count:
    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 Administrator

    Member Since:
    Jan 8, 2003
    Message Count:
    5,909
    Do you use nginx as webserver instead of Apache ?
  8. robiko997 New Member

    Member Since:
    May 11, 2009
    Message Count:
    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 Administrator

    Member Since:
    Jan 8, 2003
    Message Count:
    5,909
    Please contact us in helpdesk, we will provide exact example of nginx rules required to make new_rewrite protection working .
  10. chriswallace New Member

    Member Since:
    Feb 6, 2010
    Message Count:
    16
    I have this same problem. How can I set up nginx rules for this?

Share This Page