From 37588c3ee46bc58510d7aac77109eeafb56964ab Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen 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