Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Use IpHelper to get IP in Logger #25520
Pull Request for Issue #25518 .
Summary of Changes
Use IpHelper to get IP in
Install Joomla behind a reverse proxy which provides both remote_addr and http_x_forwarded_for headers.
To see the ip address from http_x_forwarded_for reported as the offending IP address.
To see the ip address from remote_addr reported as the offending IP address.
Documentation Changes Required
@richard67 I have tested this and it is the correct solution for my case. I am unfamiliar with github so if you need me to confirm in another way I would be grateful if you can link documentation / instructions.
Thank you for testing!
Please mark your test here: https://issues.joomla.org/tracker/joomla-cms/25520
@twrhills Follow the link posted in comment before by Quy, then click the "Test this" button at the top left corner above the description, then in the "Submit test result" select your test result with the check box, then click "Submit test result" button below the text field for the (otional) comment.
@SharkyKZ can you please fix the error messages found by travis?