httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandar Lazic <>
Subject [users@httpd] Apache 2.2.20 and mod_proxy_balancer with ajp
Date Tue, 22 Nov 2011 11:19:07 GMT
Dear List members,


Apache 2.2.20
Tomcat 6.0.32

global config

ProxyErrorOverride On
ErrorDocument 500 /500.html
ErrorDocument 404 /404.html

balancer config

LoadModule proxy_balancer_module modules/

<Proxy balancer://deliveryTST>
   BalancerMember ajp://Server1:9201 loadfactor=1 route=TSTnode2
   BalancerMember ajp://Server2:9201 loadfactor=1 route=TSTnode1
   ProxySet stickysession=JSESSIONID|jsessionid nofailover=Off 

<Proxy balancer://TST>
   BalancerMember ajp://Server1:9203 loadfactor=1 route=TSTnode3
   ProxySet stickysession=JSESSIONID|jsessionid nofailover=Off

When the tomcat returns a 404 or 500 the httpd shows the tomcat default
error page and not the httpd ErrorDocument.

Please can anybody help me and point me to the right way.

Many thanks

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message