You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/02/09 12:48:27 UTC

[Bug 61975] Error page reports an ErrorDocument problem when a RewriteRule has set the status code

https://bz.apache.org/bugzilla/show_bug.cgi?id=61975

--- Comment #1 from Marc Stern <ma...@approach.be> ---
I have the same behaviour in another case, with mod_security2.

Example:
  # Used to hide server response body (more complex rule in real)
  SecRule RESPONSE_STATUS 400 "phase:3,status:400"
  ErrorDocument 400 /my_error_page.html
Output:
  Bad Request
  Your browser sent a request that this server could not understand.
  Additionally, a 400 Bad Request error was encountered while trying
  to use an ErrorDocument to handle the request.

This is really a major ennoyance.
I don't see any work-around.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org