Jul 13, 2017, 6:36 AM
5 Posts
topic has been resolvedResolved

Getting X-Forwarded-For address into access[date].log

  • Category: Configuring
  • Platform: Linux
  • Release: 9.0.1
  • Role: Administrator
  • Tags: http,web
  • Replies: 1

Has anyone had any success getting the X-Forwarded-For address from the http headers into the Domino access[date].log (or other) log file?

I found this:

http://nevermind.dk/nevermind/blog.nsf/subject/making-x-forwarded-for-log-feature-ibm-domino-fp8-actually-work

I tried it behind our F5 load balancer but it doesn't seem to work on my servers.  I added 

HTTP_LOG_ACCESS_XFORWARDED_FOR=1

in notes.ini as suggested by the above article but it made no difference and the load balancer IP is appearing in all the log entries.  We also have HTTPEnableConnectorHeaders=1 set.  

Any suggestions greatly appreciated!

 

Jul 18, 2017, 10:42 AM
5 Posts
Getting X-Forwarded-For address into access[date].log - solved

This turned out to be a simple issue in that we had not set "Extended Common" as the access log format in the server document.