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

            Bug ID: 63628
           Summary: Support specifying the http status codes to be
                    considered by ProxyErrorOverride
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: m...@martindroessler.de
  Target Milestone: ---

The issue:
----------
When using the directive "ProxyErrorOverride", it will intercept all responses
with status codes between 400 (including) and 600 (excluding).
But we need to "pass-through" certain responses like 401 or 404, and in some
cases we only want to handle 50x responses all together.

There was a similar feature-request once:
https://bz.apache.org/bugzilla/show_bug.cgi?id=50732


The (proposed) solution:
------------------------
Changing the usage of "ProxyErrorOverride" appeared not like an ideal solution
to me, so I introduced a new directive "ProxyErrorIntercept" in addition to it.
When not specified in the config, the behaviour of "ProxyErrorOverride" is
unchanged.
If specified, "ProxyErrorOverride" will only consider responses with the
configured status codes.


Disclaimer:
-----------
My skills in C are a bit rusty. So I appreciate any constructive feedback for
the deficiencies that might be in my code.

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

Reply via email to