No Image

apache 2.4 mod_remoteip for get real ip on AWS ELB

2017-06-08 KENNETH 0

1. Load Module <IfModule mod_remoteip.c> RemoteIPHeader X-Forwarded-For </IfModule>   2. Change Log Format If using ”common” ORG : LogFormat ”%h %l %u %t \”%r\” %>s %b” common CHANGE : LogFormat ”%a %l %u %t \”%r\” %>s %b” common changet ”%h” to ”%a”