Sorry if this issue is in another topic but I didn’t found feasible solutions (or I used bad keyword;))
I use version 1.2 of Piwik
The web server is Apache 2, I use a reverse-proxy (Varnish) but this does not pose a problem to retrieve the actual IP address of the visitor (see here: http://monit-web.com/phpinfos.php The “REMOTE_ADDR” and “HTTP_X_FORWARDED_FOR” contains good ips)
But all visitors are registered under the ip 0.0.0.0 and it does not correctly calculate the number of visitors.
I modified the file config.ini.php, this:
; Proxy_client_headers  = "HTTP_X_FORWARDED_FOR"
proxy_client_headers  = “REMOTE_ADDR”
And since then, although I get the real ip of the visitor. But I do not know if I did well. And the number of visitors does not move, despite this change.
Thank you for your answers,