mod_remoteip apache 2.4.x

Started by perindu, April 05, 2014, 02:44:12 PM

Previous topic - Next topic

perindu


Anyone have solution for mod_remoteip with backend?

It's look like apache only log frontend server ip? ( it show correctly in phpinfo but not in access log )

10.0.0.122 - - [04/Apr/2014:12:33:23 +0800] "GET /icons/blank.gif HTTP/1.1" 304 -
10.0.0.122 - - [04/Apr/2014:12:33:23 +0800] "GET /icons/text.gif HTTP/1.1" 304 -


mario


perindu

SOLVED  :)

It's seems there's a new format for log file :(

replace %h with %a

default settings :

[code]    LogFormat