The Apache Haus Forum

Forum Topics => Apache 2.4 => Topic started by: perindu on April 05, 2014, 02:44:12 PM

Title: mod_remoteip apache 2.4.x
Post by: perindu on April 05, 2014, 02:44:12 PM

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 )

Code: [Select]
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 -
Title: Re: mod_remoteip apache 2.4.x
Post by: mario on April 07, 2014, 08:21:21 PM
Did you try the example form http://httpd.apache.org/docs/current/mod/mod_remoteip.html ?
Title: Re: mod_remoteip apache 2.4.x
Post by: perindu on April 10, 2014, 05:05:20 AM
SOLVED  :)

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

replace %h with %a

default settings :

[code]    LogFormat