Payments and logs showing same IP address

Discussion in 'aMember Pro v.4' started by goexcel, May 30, 2012.

  1. goexcel

    goexcel Member

    Joined:
    Oct 19, 2011
    Messages:
    47
    All of our customer payments and access logs are showing the same IP address of 127.0.0.1. This is probably happening because the actual web server sits behind the load balancers and an nginx frontend. Nginx forwards php requests to apache which is listening on the localhost (127.0.0.1). In a typical (non-load balanced) environment, the web server would be listening on the public IP.

    Any suggestions how we can maintain the the original IP of the AM user?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Can you submit a ticket and provide full output of aMember CP -> Version info page?
  3. goexcel

    goexcel Member

    Joined:
    Oct 19, 2011
    Messages:
    47
    My server admin discovered an Apache module (mod_rpaf) that will handle the translation of the X-Forwarded-For to user's real IP. Issue resolved.

Share This Page