Forum Discussion

Narendra_26827's avatar
Narendra_26827
Icon for Nimbostratus rankNimbostratus
Jul 08, 2011

iRule to redirect request to another node if HTTP response is 404

Hi,

 

 

I want to create an iRule in which if i get an HTTP 404 response from a node in the pool i will be able to break the IP persistence and pass it to another node in the pool and for next request the ip persistence can be enabled again.

 

 

Thanks.

 

    • Darren_Walker_2's avatar
      Darren_Walker_2
      Icon for Cirrus rankCirrus

      Is there a way in the HTTP_RESPONSE to specify a different pool to use before the HTTP::retry $request_headers?

       

      For an internal site that's being migrated from one content management system to another if the first site doesn't have a page (404) I want it to check the second site to see if it's been put there.