Forum Discussion

rajendra_49101's avatar
rajendra_49101
Icon for Nimbostratus rankNimbostratus
Mar 15, 2012

irule for the redirection

Dear Team,

 

 

Currently we have environment which is clustered and load balanced with F5. We have configured the rule in such a way if one the web url is unavailable the client request should be routed to next URL.But unfourtunately request is not being routed to second web url. can you pls provide some direction : Snippet of the logic is enclosed below.

 

 

when HTTP_REQUEST { if {[HTTP::host] equals "aeadebab"}{ HTTP::redirect "http://aeadsverp18-adp.adp.ae:7779/webcenter" }

 

 

else {

 

HTTP::redirect http://aeadsverp17-adp.adp.ae:7779/webcenter]

 

}

 

}