Forum Moderators: phranque

Message Too Old, No Replies

how to log ip behind proxy

         

lemat

11:52 am on Feb 15, 2004 (gmt 0)

10+ Year Member



does anybody know the header sent by the proxy servers to indicate the IP of real user?

I'd like to log it using custom log directive.

\"%{the_header}i\""

Romeo

11:57 am on Feb 15, 2004 (gmt 0)

10+ Year Member



... try using the following:
\"%{X-FORWARDED-FOR}i\" \"%{CLIENT-IP}i\"
The usage of these fields depends on the proxy.

Regards,
R.