From 59fa881ea7380b5ac5f283892c9c4882de6ff28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Mon, 12 Apr 2021 23:00:46 +0200 Subject: [PATCH] httpd: disable sending ETag header completely MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These cause caching trouble and pose a potential security risk due to exposing inode numbers of files within the Apache site directories on an IPFire machine. Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- config/httpd/global.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/httpd/global.conf b/config/httpd/global.conf index cc8000379..46878baf5 100644 --- a/config/httpd/global.conf +++ b/config/httpd/global.conf @@ -8,6 +8,7 @@ Include /etc/httpd/conf/hostname.conf HostnameLookups off AddHandler cgi-script .cgi EnableSendfile Off +FileETag None # Always unset HTTP_PROXY variable, https://httpoxy.org RequestHeader unset Proxy early