-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 25 September 2003 22:15, Haroon Rafique wrote:
> If I keep this directive in the back-end config, the client's original IP
> never makes it to the access_log. The application does however get the
since you have got the real ip address already on your backend I would simply
add a note to the request $r->notes(RealIp=>$ip); and log the note instead of
the ip address or hostname. Your CustomLog probably looks like "%h ..." or
"%a ...". Change it to "%{RealIp}n ..." and the note will be logged instead.
Torsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/c+J5wicyCTir8T4RAgTyAKCk1TLeHw4/x3tMr+TTNtZT5HIWUACeLkPy
cldkDmOeWSQSJSJHhLweCas=
=BG7Y
-----END PGP SIGNATURE-----