diff options
Diffstat (limited to 'main/apache2/conf/0002-httpd.conf-ServerTokens.patch')
-rw-r--r-- | main/apache2/conf/0002-httpd.conf-ServerTokens.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/main/apache2/conf/0002-httpd.conf-ServerTokens.patch b/main/apache2/conf/0002-httpd.conf-ServerTokens.patch new file mode 100644 index 0000000000..e4b0529e9b --- /dev/null +++ b/main/apache2/conf/0002-httpd.conf-ServerTokens.patch @@ -0,0 +1,55 @@ +From a581696f06b6ad80530bbee138cb4e870379284b 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 ddf9470..6a746e0 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.5.0 + |