On Mon, 15 Jun 2015 17:02:12 -0400 John Dunlap <j...@lariat.co> wrote:
> I am getting the client ip address in every request and checking it against > an access control list which is stored in my database(so that the user can > maintain the ACL's without the assistance of an administrator). These are > the code snippets which are grabbing the IP address: > > ==== Begin Snippet 1 ==== > # Check which method is available and use the correct one. For some > # reason, remote_ip was changed to client_ip in Apache 2.4 I think it's explained here : http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html conn_rec->remote_ip and conn_rec->remote_addr These fields have been renamed in order to distinguish between the client IP address of the connection and the useragent IP address of the request (potentially overridden by a load balancer or proxy). References to either of these fields must be updated with one of the following options, as appropriate for the module [...] > if ($connection->can('client_ip')) { So, is that in a filter? because something definitely changed there, although I found no references to it. In my case it was consistent. I described the symptoms here : http://www.gossamer-threads.com/lists/modperl/modperl/108254?search_string=vincent%20veyron%20deflate;#108254 -- Salutations, Vincent Veyron https://marica.fr/ Gestion des contentieux, des dossiers de sinistres assurance et des contrats pour le service juridique