Bug 41278 - mod_proxy_ajp doesn't obey ProxyErrorOverride
Summary: mod_proxy_ajp doesn't obey ProxyErrorOverride
Status: RESOLVED DUPLICATE of bug 50945
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.2.3
Hardware: Other All
: P2 normal with 30 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 10:40 UTC by Noah Robin
Modified: 2011-10-13 20:08 UTC (History)
6 users (show)



Attachments
Initial (though perhaps not complete) patch (1.63 KB, patch)
2009-03-04 20:24 UTC, Jim Riggs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Noah Robin 2007-01-02 10:40:39 UTC
Where mod_proxy_http has a code path for allowing Apache it's own ErrorDocument
should a remote server return, say, a 404, mod_proxy_ajp has no such code path,
which forces one to use the back-end's error pages, which may not be what's desired.
Comment 1 Jim Riggs 2009-03-04 20:24:03 UTC
Created attachment 23333 [details]
Initial (though perhaps not complete) patch

Attached is an initial patch that provides this functionality.  It may not be complete (e.g. it doesn't do any special handling for 401 like mod_proxy_http does), and I make no claims to be an expert in the Apache code, so it may not be complete or 100% correct.  That said, though, I have been using this patch for some time with no issues.
Comment 2 Bastian Voigt 2011-01-10 10:24:28 UTC
Will someone please look into the proposed patch??
Comment 3 Sven Schliesing 2011-03-18 11:07:33 UTC
This should at least be mentioned in the documentation.
2.3.11-beta source looks like the bug still exists in 2.3, too.
Comment 4 Jim Riggs 2011-10-13 20:08:29 UTC
It looks like this has been fixed in 50945.

*** This bug has been marked as a duplicate of bug 50945 ***