Hi there,
I'm using an output filter with mod_proxy to apply content
transformation to a proxied application. It's all working fine so far,
except for the fact that mod_proxy does not call the output filter for
error pages.
The code in question is in mod_proxy_http.c, around line 1455 (httpd-2.2.4):
/*
* if we are overriding the errors, we can't put the content
* of the page into the brigade
*/
if (!conf->error_override || ap_is_HTTP_SUCCESS(r->status)) {
Setting ProxyErrorOverride overrides the error response completely,
which is not what I want.
I don't see any obvious reason for not passing the error page body
through to the output filters, other than no-one needed it so far.
I'm willing to submit a patch to add a configuration setting that can
be enabled to pass the error page body through the output filters.
Does that sound like it might be accepted? Anyone has a better
suggestion?
--
Sidnei da Silva
Enfold Systems http://enfoldsystems.com
Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]