httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Wigg <p...@philipwigg.co.uk>
Subject Re: [users@httpd] RE: mod_proxy_balancer back end status check
Date Tue, 09 Mar 2010 19:57:04 GMT
On 9 March 2010 17:47, Edward Quick <Edward.Quick@igindex.co.uk> wrote:
> Here’s my configuration. After the 15 seconds timeout, the back end server
> (listening on port 8080 here)  returns a 502 page. Is there any
> configuration I can add to detect that beforehand, and get the balancer to
> redirect my request to the other server member?
>
> Timeout 15
>
> ProxyPass /HelloWorld/ balancer://tomcat/HelloWorld/
> ProxyPassReverse /HelloWorld/ balancer://tomcat/HelloWorld/
>
> <Proxy balancer://tomcat>
>  BalancerMember http://localhost:8080 route=jvm001 redirect=jvm002
>  BalancerMember http://localhost:8082 route=jvm002
> </Proxy>

You could try using AJP instead of HTTP between Apache and Tomcat, and
use the ping parameter. Search for 'ping' here:-

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

-- Phil

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


Mime
View raw message