https://bz.apache.org/bugzilla/show_bug.cgi?id=69101
--- Comment #1 from abernal <[email protected]> --- Confirmed the root cause: ap_die_r() (modules/http/http_request.c) sets recursive_error = type unconditionally when an ErrorDocument's own internal request is short-circuited again, even when that second "type" is not an error at all. Here it's mod_alias's "Redirect 200 /static/custom404.html" doing exactly that (a 2xx status, not an error), so the generated page falsely claims "Additionally, a 200 OK error was encountered" and discards the ErrorDocument's own output. Patch proposed: https://github.com/apache/httpd/pull/992 Note: this fixes the misleading "200 OK error" text and lets the primary 404 response render cleanly, but it does not change what "Redirect 200 <path>" itself serves when reached this way (it still produces the generic canned body for that status, not the file's actual content) -- that would be a separate, larger change to how Redirect's non-redirect statuses are handled. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
