Forum Discussion

Mark_Albright_1's avatar
Mark_Albright_1
Icon for Nimbostratus rankNimbostratus
Feb 04, 2010

IRule to redirect based on connection time

I am looking for help with the following scenario.

 

 

Our users would like to have the F5 redirect clients to a custom error page when the connection to the pool members is taking to long. Any thoughts are appreciated.
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Mark,

     

     

    In v10, you could use the 'after' command (Click here) to trigger a redirect after the request has been outstanding to the pool member for X seconds.

     

     

    Of if you want to send a redirect to the client if the server doesn't answer the TCP connection request from LTM after X seconds, you could use an iRule that triggers on the LB_FAILED (Click here) event. This would work in all current LTM versions.

     

     

    Aaron