apache  日志格式中的ip 用 %{X-Forwarded-For}i 表示
比如 LogFormat “%{X-Forwarded-For}i %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”"