From ba3290fbbd4c6ef718c1e5cde2b56aa088257bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Fri, 16 Aug 2024 09:40:36 +0200 Subject: [PATCH] Add LogFormat module to the httpd config --- httpd.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/httpd.conf b/httpd.conf index d95103b..dfc6c08 100644 --- a/httpd.conf +++ b/httpd.conf @@ -1,7 +1,11 @@ + +LoadModule config_log_module modules/mod_log_config.so LoadModule mpm_event_module modules/mod_mpm_event.so #LoadModule mpm_prefork_module modules/mod_mpm_prefork.so #LoadModule mpm_worker_module modules/mod_mpm_worker.so +AddModule mod_log_config.c + # Fields to record - use X-Forward-For instead of client IP so that we get the actual clients IP LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" mycustom