1 |
commit: 3ed7d3df802077ac787419e072b297217234b6ef |
2 |
Author: Peter Volkov <pva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 18 06:17:57 2011 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 18 06:17:57 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commit;h=3ed7d3df |
7 |
|
8 |
Update default to better match upstream intentions, thank Steve Dibb for report in bug #387157. |
9 |
|
10 |
--- |
11 |
2.2/conf/modules.d/00_default_settings.conf | 24 ++++++++++++++++++++++-- |
12 |
1 file changed, 22 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/2.2/conf/modules.d/00_default_settings.conf b/2.2/conf/modules.d/00_default_settings.conf |
15 |
index 5dc223b..0fa43b2 100644 |
16 |
--- a/2.2/conf/modules.d/00_default_settings.conf |
17 |
+++ b/2.2/conf/modules.d/00_default_settings.conf |
18 |
@@ -68,8 +68,28 @@ HostnameLookups Off |
19 |
# be turned off when serving from networked-mounted |
20 |
# filesystems or if support for these functions is otherwise |
21 |
# broken on your system. |
22 |
-#EnableMMAP off |
23 |
-#EnableSendfile off |
24 |
+EnableMMAP On |
25 |
+EnableSendfile On |
26 |
+ |
27 |
+# FileEtag: Configures the file attributes that are used to create |
28 |
+# the ETag (entity tag) response header field when the document is |
29 |
+# based on a static file. (The ETag value is used in cache management |
30 |
+# to save network bandwidth.) |
31 |
+FileEtag INode MTime Size |
32 |
+ |
33 |
+# ContentDigest: This directive enables the generation of Content-MD5 |
34 |
+# headers as defined in RFC1864 respectively RFC2616. |
35 |
+# The Content-MD5 header provides an end-to-end message integrity |
36 |
+# check (MIC) of the entity-body. A proxy or client may check this |
37 |
+# header for detecting accidental modification of the entity-body |
38 |
+# in transit. |
39 |
+# Note that this can cause performance problems on your server since |
40 |
+# the message digest is computed on every request (the values are |
41 |
+# not cached). |
42 |
+# Content-MD5 is only sent for documents served by the core, and not |
43 |
+# by any module. For example, SSI documents, output from CGI scripts, |
44 |
+# and byte range responses do not have this header. |
45 |
+ContentDigest Off |
46 |
|
47 |
# ErrorLog: The location of the error log file. |
48 |
# If you do not specify an ErrorLog directive within a <VirtualHost> |