]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
httpd: disable sending ETag header completely
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 12 Apr 2021 21:00:46 +0000 (23:00 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Apr 2021 17:20:17 +0000 (17:20 +0000)
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 <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/httpd/global.conf

index cc8000379095193f1f22a5cc56c233c7887e59f1..46878baf5b2924102a4689d2d967edce15ffdfad 100644 (file)
@@ -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