I have a dedicated server and I use google pagespeed service. I would like to be able to see the real clients IPs. Now I can see only hits from google IP pagespeed servers. Google recommends to install mod_remoteip plugin on apache. See below:
Any idea how can I proceed with it? Are DH people can do that for me?
[i]How do I know the client IP address for my users’ requests?
PageSpeed Service serves webpages on your behalf to your customers by retrieving original content from your servers. As a result, all requests to your origin server will be from Google’s IP addresses. To get the IP address of the user on your origin server, we recommend you use the value stored in the X-Forwarded-For HTTP header. Here are some tips to correctly configure your host and retrieve the X-Forwarded-For header value in common web hosting software:
(Required) Server Software: The following server systems are responsible for managing incoming connections to your origin server.
Apache: Install the mod_remoteip plugin. Please make sure to modify your configuration file (/etc/httpd/conf/httpd.conf) with the updated configuration:
LoadModule remoteip_module /usr/lib64/httpd/modules/mod_remoteip.so
Google PageSpeed Service, ref http://support.google.com/a/bin/answer.py?hl=en&answer=60764
RemoteIPInternalProxy 0.0.0.0/0 188.8.131.52/1 184.108.40.206/2
Note: The above IP ranges are placeholders. Please follow the steps listed in this FAQ to find the appropriate list of IP addresses to enter above
Nginx: Install the ngx_http_realip_module plugin.
IIS: Install the Application Request Routing (ARR) module. After installing ARR, please use the HttpContext.Current.Request.Headers[“X-Forwarded-For”] variable.[/i]