[packages/apache/APACHE_2_2] Revert "Add EnableSendfile on. Prevent web clients from accessing htaccess files and backup files (~
arekm
arekm at pld-linux.org
Thu Jul 3 13:53:17 CEST 2014
commit e9878241b6b0a788ee2aff9c1c175df867576dba
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jul 3 13:53:00 2014 +0200
Revert "Add EnableSendfile on. Prevent web clients from accessing htaccess files and backup files (~ so far)."
This reverts commit 11d294e5dbf87b90b7c424362ea628d80993ccc1 as it was
meant for apache 2.4.
apache-httpd.conf | 22 ----------------------
1 file changed, 22 deletions(-)
---
diff --git a/apache-httpd.conf b/apache-httpd.conf
index 2e73649..613e533 100644
--- a/apache-httpd.conf
+++ b/apache-httpd.conf
@@ -66,28 +66,6 @@ HostnameLookups Off
TraceEnable Off
-#
-# EnableMMAP and EnableSendfile: On systems that support it,
-# memory-mapping or the sendfile syscall may be used to deliver
-# files. This usually improves server performance, but must
-# be turned off when serving from networked-mounted
-# filesystems or if support for these functions is otherwise
-# broken on your system.
-# Defaults if commented: EnableMMAP On, EnableSendfile Off
-#
-#EnableMMAP off
-EnableSendfile on
-
-# Prevent .htaccess and .htpasswd files from being viewed by Web clients.
-<Files ".ht*">
- Require all denied
-</Files>
-
-# Prevent backup files from being viewed, too.
-<Files "*~">
- Require all denied
-</Files>
-
# Include other modules and packages config.
Include conf.d/*.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/e9878241b6b0a788ee2aff9c1c175df867576dba
More information about the pld-cvs-commit
mailing list