From cc439cb7afb6dd0ce873e09c0993e80c8c9c83f4 Mon Sep 17 00:00:00 2001 From: Stanislaw <56738034+anvme@users.noreply.github.com> Date: Tue, 11 Mar 2025 00:31:59 +0100 Subject: [PATCH] Native light/dark mode support for Apache error pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tag is now included in the
, so modern browsers can automatically switch based on the user’s system preference. --- modules/http/http_protocol.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 75c4531bf05..c2bfba03b28 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -1357,8 +1357,11 @@ AP_DECLARE(void) ap_send_error_response(request_rec *r, int recursive_error) ap_rvputs_proto_in_ascii(r, DOCTYPE_HTML_4_01 - "\n