( Dacr | 2016. 05. 21., szo – 22:13 )

A Trusted is megvolt már :D

Ez a logformat sem adott pozitív eredményt.

Most csináltam egy ilyet is:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded
CustomLog "/var/log/httpd/nemfor.log" combined env=!forwarded
CustomLog "/var/log/httpd/for.log" proxy env=forwarded

A nemfor.log tele lett, a for.log üres. Mintha a remoteip modul egyáltalán nem csinálna semmit.