#844 perl/php scripts

open
nobody
5
2012-10-11
2011-01-26
Anonymous
No

This "bug" is in reference the Perl/PHP scripts available, e.g. CGI pslogger enhanced by AWStats and php version of CGI pslogger made by Florent CHANTRET.

If the web server is behind a firewall/gateway, the reported IP address by "REMOTE_ADDR" is often that of this device rather than the remote user. To find the IP of the visitor, HTTP_X_FORWARDED_FOR can be used instead. This worked successfully for me and thought I would share.

Discussion