From f1f23964aa1d074e5bad4744dad5fafe98607f5a Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Mon, 24 Sep 2018 04:07:49 +0300 Subject: [PATCH] Update notes of 'patch_apache_disable_html_errormsg.patch' --- patches/patch_apache_disable_html_errormsg.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patches/patch_apache_disable_html_errormsg.patch b/patches/patch_apache_disable_html_errormsg.patch index 75c3360..245619f 100644 --- a/patches/patch_apache_disable_html_errormsg.patch +++ b/patches/patch_apache_disable_html_errormsg.patch @@ -2,15 +2,15 @@ Author: Pekka Helenius (~Fincer), 2018 Patch: Remove error HTML body from Apache server output message. +This patch removes default Apache error pages returned by an erroneous HTTP request. Removes additional error messages as well. -Do not give any hints about existence of Apache ErrorDocument to the client. +Do not give any hints about existence of Apache ErrorDocument directive to the client. -This patch is useful in some cases but can bury underneath problems in server -configuration. Thus, use discretion before implementing the patch +This patch is useful in some cases but can bury underneath problems in server configuration. +Thus, use discretion before implementing the patch in your Apache server. -This patch removes default error pages returned by an erroneous HTTP request. -If you need to use error pages, customize them in your Apache configs with ErrorDocument. +If you need to use error pages, customize them in your Apache configs with ErrorDocument directive. --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c