Bug 58050 - ErrorDocument does not always work
Summary: ErrorDocument does not always work
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.4.12
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-17 19:58 UTC by apache-bugs.a2
Modified: 2015-06-17 19:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.