I had to add 127.0.0.1 for RemoteIPInternalProxy. Otherwise will get 127.0.0.1 for [REMOTE_ADDR] if you connect via IPv6. Or did I missed domething?
<IfModule <?php echo $OPT['mod'] ?>>
<?php for ($ipAddresses = $VAR->server->ipAddresses->all, $ipAddress = reset($ipAddresses); $ipAddress...