Re: mod_remoteip and Apache2::Connection
Guido Brugnara <[email protected]> Mon, 6 May 2024 09:19:24 +0200
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
I'm sorry, had not read carefully. mod_remoteipmodifies the environment variables, so I can imagine that the get_remote_host method keeps pointing to the Proxy server address If you can't change the calls with that method, you can try to capture those calls and replace the value. In the past I have used Class::Hook, but it is a dirty job. See also Apache2::Connection::XForwardedFor but this package change che call |$r||->connection->remote_ip| Best regards gdo