Bug 58050

Summary: ErrorDocument does not always work
Product: Apache httpd-2 Reporter: apache-bugs.a2
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.12   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description apache-bugs.a2 2015-06-17 19:58:03 UTC
.htaccess file:

ErrorDocument 500 /img-sys/500.htm
RewriteEngine On
RewriteRule . /abc [L]

in browser go to yourdomain.com/whatever

apache will still display standard error page in this case - it seems that ErrorDocument does not affect error message when rewrite recursion limit is reached - but that makes ErrorDocument buggy because its whole purpose is to change error message.