You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jens Laas <je...@uadm.uu.se> on 2014/06/16 13:31:57 UTC
ProxyErrorOverride patch
Hello!
Sending a patch that extends proxyerroroverride with another, optional,
parameter. The diff is against httpd-2.4.9.
This parameter makes it possible to define exactly which status codes should be
overridden. Modeled after "failonstatus".
Usage example:
ProxyErrorOverride On 500,501,502,503,504
Motivation: In our reverse proxy setup, we want to show a custom error page when
the backend application fails (5xx), but not for 4xx which the application
handles on its own.
I hope you will be able to incorporate something similar into Apache.
The proxy_http part is not tested.
Best regards,
Jens Låås
-----------------------------------------------------------------------
'In theory, there is no difference between theory and practice.
But, in practice, there is.'
-----------------------------------------------------------------------
Jens Låås Email: jens.laas@its.uu.se
ITS Phone: +46 18 471 77 03
SWEDEN
-----------------------------------------------------------------------