The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: mod_remoteip apache 2.4.x  (Read 4785 times)

perindu

  • Newbie
  • *
  • Offline Offline
  • Posts: 33
mod_remoteip apache 2.4.x
« 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 -
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 586
Re: mod_remoteip apache 2.4.x
« Reply #1 on: April 07, 2014, 08:21:21 PM »

Logged

perindu

  • Newbie
  • *
  • Offline Offline
  • Posts: 33
Re: mod_remoteip apache 2.4.x
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13