You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sean LeBlanc <se...@gmail.com> on 2021/02/17 19:20:40 UTC

[users@httpd] mod_proxy and ProxyErrorOverride Directive

We have switched from mod_jk to mod_proxy_ajp recently, and I'm trying 
to get similar behavior to what we did via uriworkermap.properties 
files, in which we blocked most error codes coming from our Java 
application, for example:


/app|/*worker1;use_server_errors=401,.... <error list to have Apache 
serve up instead>


It seems one way of achieving similar things via mod_proxy/mod_proxy_ajp 
would be to use:


"ProxyErrorOverride On"


That then blocks most of what we want, however, it blocks too much. We 
want a few error codes to be served up by our Java application instead 
of Apache. Is there a way to do this?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org