It seems there is a little problem in my code.
When defining "ProxyErrorOverride On" at the vhost level, then
"ProxyErrorOverride Off" at a directory level, the directive does not
seem to work at the directory level.
The merge works correctly, I traced it, and "error_override" is set to 1
at global level, then to 0 at the dir level.
But in "ap_proxy_http_process_response()", dconf->error_override" is
always set to 1. dconf is built as usual:
proxy_dir_conf *dconf = ap_get_module_config(r->per_dir_config,
&proxy_module);
Any idea ?
Thanks,
Nick
Nick Gearls wrote:
A patch is submitted:
https://issues.apache.org/bugzilla/show_bug.cgi?id=46656
Here are the modifs:
- added |ACCESS_CONF to AP_INIT_FLAG
- error_override & error_override_set are moved to proxy_dir_conf
- set_proxy_error_override() is modified to use provided dconf*
As I explained, this is very useful when using Web Services, as SOAP
errors are reported inside status 500 pages.
Will this be added ?