aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/conf/0002-httpd.conf-ServerTokens.patch
blob: 99ebcbd8e6cb2c137667b052b0d91a45b3c63de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From 37588c3ee46bc58510d7aac77109eeafb56964ab Mon Sep 17 00:00:00 2001
From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Date: Fri, 11 Sep 2015 11:10:55 +0300
Subject: [PATCH 02/14] httpd.conf: ServerTokens

---
 docs/conf/extra/httpd-default.conf.in | 10 ----------
 docs/conf/httpd.conf.in               | 10 ++++++++++
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/conf/extra/httpd-default.conf.in b/docs/conf/extra/httpd-default.conf.in
index 7196922..a05ebc1 100644
--- a/docs/conf/extra/httpd-default.conf.in
+++ b/docs/conf/extra/httpd-default.conf.in
@@ -45,16 +45,6 @@ UseCanonicalName Off
 AccessFileName .htaccess
 
 #
-# ServerTokens
-# This directive configures what you return as the Server HTTP response
-# Header. The default is 'Full' which sends information about the OS-Type
-# and compiled in modules.
-# Set to one of:  Full | OS | Minor | Minimal | Major | Prod
-# where Full conveys the most information, and Prod the least.
-#
-ServerTokens Full
-
-#
 # Optionally add a line containing the server version and virtual host
 # name to server-generated pages (internal error documents, FTP directory 
 # listings, mod_status and mod_info output etc., but not CGI generated 
diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
index 3e21599..e995794 100644
--- a/docs/conf/httpd.conf.in
+++ b/docs/conf/httpd.conf.in
@@ -19,6 +19,16 @@
 # will be interpreted as '/logs/access_log'.
 
 #
+# ServerTokens
+# This directive configures what you return as the Server HTTP response
+# Header. The default is 'Full' which sends information about the OS-Type
+# and compiled in modules.
+# Set to one of:  Full | OS | Minor | Minimal | Major | Prod
+# where Full conveys the most information, and Prod the least.
+#
+ServerTokens OS
+
+#
 # ServerRoot: The top of the directory tree under which the server's
 # configuration, error, and log files are kept.
 #
-- 
2.9.4