aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/conf/0003-httpd.conf-ServerSignature.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/apache2/conf/0003-httpd.conf-ServerSignature.patch')
-rw-r--r--main/apache2/conf/0003-httpd.conf-ServerSignature.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/main/apache2/conf/0003-httpd.conf-ServerSignature.patch b/main/apache2/conf/0003-httpd.conf-ServerSignature.patch
new file mode 100644
index 0000000000..1c921ea5f3
--- /dev/null
+++ b/main/apache2/conf/0003-httpd.conf-ServerSignature.patch
@@ -0,0 +1,55 @@
+From 1155dc5d32cceb5444d9c6ea7a3e560472c2c478 Mon Sep 17 00:00:00 2001
+From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+Date: Fri, 11 Sep 2015 11:46:25 +0300
+Subject: [PATCH 03/14] httpd.conf: ServerSignature
+
+---
+ 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 a05ebc1..dcc2fb5 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
+
+ #
+-# 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
+-# documents or custom error documents).
+-# Set to "EMail" to also include a mailto: link to the ServerAdmin.
+-# Set to one of: On | Off | EMail
+-#
+-ServerSignature Off
+-
+-#
+ # HostnameLookups: Log the names of clients or just their IP addresses
+ # e.g., www.apache.org (on) or 204.62.129.132 (off).
+ # The default is off because it'd be overall better for the net if people
+diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
+index 6a746e0..e92fefa 100644
+--- a/docs/conf/httpd.conf.in
++++ b/docs/conf/httpd.conf.in
+@@ -109,6 +109,16 @@ Group daemon
+ ServerAdmin you@example.com
+
+ #
++# 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
++# documents or custom error documents).
++# Set to "EMail" to also include a mailto: link to the ServerAdmin.
++# Set to one of: On | Off | EMail
++#
++ServerSignature On
++
++#
+ # ServerName gives the name and port that the server uses to identify itself.
+ # This can often be determined automatically, but we recommend you specify
+ # it explicitly to prevent problems during startup.
+--
+2.5.0
+