Browse Source

Update notes of 'patch_apache_disable_html_errormsg.patch'

master
Pekka Helenius 6 years ago
committed by GitHub
parent
commit
f1f23964aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      patches/patch_apache_disable_html_errormsg.patch

+ 5
- 5
patches/patch_apache_disable_html_errormsg.patch View File

@ -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


Loading…
Cancel
Save