new_rewrite redirecting issues

Discussion in 'Setting-up protection' started by jcrewguy24, Oct 22, 2007.

  1. jcrewguy24

    jcrewguy24 aMember Pro Customer

    Joined:
    Oct 21, 2007
    Messages:
    27
    Hello all,

    I have installed amember and set everything up correctly...or so I think. new_rewrite works correctly as far as I can tell except for the following scenario. I have searched through the forum and haven't found a solution to this.

    There is a directory, let's call it 'protected' which is being protected via the new_rewrite method. When browsing to http://www.mysite.com/protected/ it asks me to log in. So far so good. After providing correct credentials, it then tries to redirect me to the protected directory using the .htaccess file created by the amember script.

    Using Firefox gives me this error: Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    Using IE it just sits forever...

    Any ideas on how to solve this? :confused:

    I'm guessing something to do with the rewrite rules in .htaccess?!?
  2. jcrewguy24

    jcrewguy24 aMember Pro Customer

    Joined:
    Oct 21, 2007
    Messages:
    27
    :bump: Anyone? :D
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please submit a ticket with access info we will be able to help.
  4. jcrewguy24

    jcrewguy24 aMember Pro Customer

    Joined:
    Oct 21, 2007
    Messages:
    27
    This issue was fixed in the helpdesk thanks :)
  5. pnilzon

    pnilzon New Member

    Joined:
    Oct 22, 2007
    Messages:
    2
    same problem

    jcrewguy24,

    I'm having the same problem, but running out of time/patience with help desk. Any suggestions? Thanks.
  6. jcrewguy24

    jcrewguy24 aMember Pro Customer

    Joined:
    Oct 21, 2007
    Messages:
    27
    I think they just added
    Code:
     php_flag "suhosin.cookie.encrypt" "Off"
    
    into my .htaccess file located in my amember root directory
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    There are a lot of reasons for this situation. For jcrewguy24 the problem was in suhosin module that encypt cookies.
    For pnilzon it was an incorrect server path inside php.

Share This Page