Created
May 24, 2023 15:56
-
-
Save ruo91/2765224ff4e73948ea1772779aaaf075 to your computer and use it in GitHub Desktop.
Apache2 - Apply HTTP Status Code 444
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage: patch -p0 < apache2_add_http_status_code_444_http_protocol.patch | |
# vi httpd.conf | |
# ErrorDocument 444 "No Response" | |
# apachectl graceful | |
--- httpd-2.4.57/modules/http/http_protocol.c.orig 2023-05-24 22:50:23.905088004 +0900 | |
+++ httpd-2.4.57/modules/http/http_protocol.c 2023-05-24 22:51:10.275677091 +0900 | |
@@ -158,7 +158,7 @@ | |
NULL, /* 441 */ | |
NULL, /* 442 */ | |
NULL, /* 443 */ | |
- NULL, /* 444 */ | |
+ "444 No Response", | |
NULL, /* 445 */ | |
NULL, /* 446 */ | |
NULL, /* 447 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment