From 634e3b0e46a27e0d363614ec62bd98fe0be9c487 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Mon, 16 Jan 2023 11:03:21 +0000 Subject: [PATCH] mod_accesslog was ommited from the list of server modules, which causes a warning to be flashed up in the error log. Enabling this Signed-off-by: Adam Warner --- advanced/pihole-admin.conf | 2 +- automated install/basic-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/pihole-admin.conf b/advanced/pihole-admin.conf index 2809d339..60eca564 100644 --- a/advanced/pihole-admin.conf +++ b/advanced/pihole-admin.conf @@ -79,4 +79,4 @@ $HTTP["host"] == "pi.hole" { } # (keep this on one line for basic-install.sh filtering during install) -server.modules += ( "mod_access", "mod_redirect", "mod_fastcgi", "mod_setenv" ) +server.modules += ( "mod_access", "mod_accesslog", "mod_redirect", "mod_fastcgi", "mod_setenv" ) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index cf27e3ac..3b37bf28 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1442,7 +1442,7 @@ installConfigs() { fi chmod 644 $conf if is_command lighty-enable-mod ; then - lighty-enable-mod pihole-admin access redirect fastcgi setenv > /dev/null || true + lighty-enable-mod pihole-admin access accesslog redirect fastcgi setenv > /dev/null || true else # Otherwise, show info about installing them printf " %b Warning: 'lighty-enable-mod' utility not found\\n" "${INFO}"