Forum Discussion

Darrin_Wiens_25's avatar
Darrin_Wiens_25
Icon for Nimbostratus rankNimbostratus
Apr 29, 2008

Redirect to Multiple URLs

I am in the process of moving from a Cisco CSS to the F5 and I have an interesting Redirect issue. On the CSS, I have a content rule that has two services associated with it. Each service is of a redirect type and each goes to a different URL. Basically, it load balances two redirects. I need to do the same thing on the F5. I need to configure an iRule that will round-robin requests to two different redirects. Here is an example of what we've tried...

 

 

when HTTP_REQUEST {

 

HTTP::redirect "http://Server1/blah"

 

HTTP::redirect "http://Server2/blah"

 

}

 

 

Any ideas would be greatly appreciated.

 

 

Thanks,

 

Darrin

13 Replies