I have the following setup in my apache vhost:
ProxyPass /abc http://www.newest.com/
ProxyPassReverse /abc http://www.newest.com/
I want to setup a failover approach in which if after a particular timeout say 10secs the load shifts to some other website like Refer.com | The world. The timeout should be in Proxy Pass and if timeout occurs it shifts to Refer.com | The world
Please help me in the same as I am stuck !
Thanks
---------- Post updated 07-14-14 at 02:03 AM ---------- Previous update was 07-13-14 at 08:27 PM ----------
I have tried this:
<Proxy balancer://mycluster>
BalancerMember http://abc.com/son timeout=2 retry=1
BalancerMember http://def.com/hud
</Proxy>
ProxyPass /son balancer://mycluster
If both are on I mean abc.com and def.com it keeps on Load Balancing between them. However I want to open the first URL always and second should work only when first is down..
Any suggestions?