Skip to main content

HAProxy Proxy and X-Forward-For IP in Apache Logs

Comments

2 comments

  • caroseuk
    Ok so I finally sorted this.. if anyone is interested, I did the following: From within WHM, I went to: Home " Service Configuration " Apache Configuration " Include Editor I then added the following line into the Post VirtualHost Include box: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{X-Forwarded-For}i\"" combined Clicked "Update" and then restarted Apache. Log files are now showing as they should :) Chris
    0
  • cPanelMichael
    Hello :) I am happy to see you were able to address the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.