RE: mod_remoteip and ErrorLogFormat

"Gretton, Liam" <[email protected]>
Newsgroups gmane.comp.apache.user
Message-ID <VI1PR06MB9047006CB0E16EC3BFB89997C6542@VI1PR06MB9047.eurprd06.prod.outlook.com>
On 20 October 2024 18:05, Daniel Ferradal Márquez wrote:
> What is your "RemoteIpHeader" setting? You have to specify it for mod_remoteip to work.
>
> Have you made sure you are getting that header from the front-end with the correct client ip?

RemoteIPHeader is set to X-Forwarded-For.

It's working as expected for the access log with %a, just not for the error log.

access log is handled by mod_log, but error logging is handled by core, which makes me wonder if core doesn't honour mod_remoteip.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.