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”
Leave a Reply