Forum Discussion
Lee_Sutcliffe
Aug 22, 2018Nacreous
Hi Rodrigo,
There's nothing wrong with your iRule, it's very common to do host or URI based load balancing like this. However current best practice would be to migrate this to an LTM traffic policy in the GUI as it is better for performance
You wouldn't need to amend the status code in this instance as the applications serviced by the two pools will respond with a status code. You can obviously rewrite this if there is a requirement to do so.
Let me know if I can help you further.
Lee