Apache 2.2.20 and mod_proxy_balancer with ajp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear List members,

Setup:

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/mod_proxy_balancer.so


<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 failonstatus=404,500
</Proxy>


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

Question:
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
Aleks

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux