Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hello , my website get mostly client ip same as my webserver, about 95% . (windows 2003 , no domain , only ip access )
I did not use proxy server , dont know what's going on.
maybe the module can provide this feature : check out if the ip is same as webserver or same as the specified IP , then get ip by other way , the real ip.
or teach me how to configure my webserver?
Comments
Comment #1
dzy CreditAttribution: dzy commentedmay be just add more column , split IP source , including X-Forwarded-For header and REMOTE_ADDR and ?? header
Comment #2
dzy CreditAttribution: dzy commentedComment #3
gregglesThe module already uses the ip_address function which is the "right way" in Drupal to get either the current ip address or the x-forwarded-for address if that makes sense.
There are some settings in settings.php that you should read through for situations where Drupal is behind a reverse proxy.
This seems to me most likely a problem in site configuration rather than the module itself.
Comment #4
gregglesI guess my comment in #3 was the solution. Please reopen if the issue persists.