Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread William A Rowe Jr
On Thu, Mar 9, 2017 at 9:53 PM, JW wrote: > > It's been over a month since moving to Apache 2.4. It was fairly > straightforward and required > little code to be updated, most of it Apache config. Everything runs as it > did before the update and I've > had no problems. The one function that didn'

Re: Question about Apache 2.4 and libapreq2 (Apache2::Request)

2017-03-10 Thread Jie Gao
* JW wrote: > This mod_perl server is behind a proxy on the same machine. Under Apache 2.2, > $r->remote_ip() > returned 127.0.0.1 and not the user's actual IP.  So, a > PerlPostReadRequestHandler extracted the user's > IP address from the X-Forwarded-For header and set it with $r->remote_ip(