Log X-Forwarded-For address instead of REMOTE_ADDR

Moderator: crythias

Locked
pimzand
Znuny newbie
Posts: 3
Joined: 12 Aug 2014, 21:02
Znuny Version: 3.3.8
Real Name: Pim Zandbergen
Company: Macroscoop BV

Log X-Forwarded-For address instead of REMOTE_ADDR

Post by pimzand »

Our OTRS server is behind a Pound reverse proxy server.
Currently this means OTRS is always logging the IP address of the proxy server rather than the real user's IP address.
Pound adds an HTTP header called 'X-Forwarded-For' containing the real IP address.
Is there a way to have OTRS use that value as the remote address for its logging?

Thanks,
Pim
Locked