From 5d820969020e262edb0bafcd73f3e11a8c5604cd Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 27 May 2025 19:24:38 -0500 Subject: [PATCH] httpd config: Add X-Forwarded-For (etc) to log This reverts commit 511c1a383da41d42a191a8fcd44dc5c1efbeb458. Debugging multiple request issues. --- files/etc/httpd/conf/httpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/etc/httpd/conf/httpd.conf b/files/etc/httpd/conf/httpd.conf index 9a76d19..7b350e4 100644 --- a/files/etc/httpd/conf/httpd.conf +++ b/files/etc/httpd/conf/httpd.conf @@ -189,7 +189,7 @@ LogLevel warn # The following directives define some format nicknames for use with # a CustomLog directive (see below). # - LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined + LogFormat "%h (for %{X-Forwarded-For}i) %v %U %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common