Forum Discussion

Natalia_Wolosec's avatar
Icon for Nimbostratus rankNimbostratus
Aug 01, 2011

Irule for rerouting to different pools

Hi All,



I currently have an in production virtual server on my F5 which also has a SSL certification. My organisation would like to be able to use the same URL to take advantage of the certificate, but to reroute to another pool of test servers which using a /test on the url.



So for example to go to the existing pool members (poollive) and to go to a new test pool of members (pooltest)



I've created an irule to try to get this to do this procedure.



Can anyone confirm if this irule is correct, or needs some additional work.





if { [HTTP::uri] contains "test" }



pool pooltest




else {


pool poollive







Can someone advise if this would be correct?















11 Replies