tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Montague <m...@catseye.org>
Subject Re: Apache HTTPD <-> Tomcat, Passing Errors
Date Mon, 05 Dec 2011 20:51:39 GMT
On December 5, 2011 15:42 , Jonathan Rosenberg <shmoldie@gmail.com> wrote:
> I am using Tomcat 7.0.22, Java 1.6 on a Linux box.  Front-end is
> Apache/2.2.17 connected using proxypass with ajp.
>
> I'd like page-request errors on the Tomcat side to be to be passed
> back to httpd for handling.  right now, Tomcat formats the error page
> &  passes that back.

This is controlled via the ProxyErrorOverride directive for Apache HTTP 
Server.  See 
https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxyerroroverride

Unfortunately, while ProxyErrorOverride has been available for HTTP 
reverse-proxies, it was just added for AJP reverse-proxies in Apache 
HTTP Server 2.3.12.  The feature will hopefully be backported into the 
next release of the 2.2 branch, though, so check again when 2.2.22 is 
released.  For more information, see 
https://issues.apache.org/bugzilla/show_bug.cgi?id=50945

--
   Mark Montague
   mark@catseye.org


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


Mime
View raw message