Forum Discussion

Yogeshwar's avatar
Yogeshwar
Icon for Nimbostratus rankNimbostratus
Jul 01, 2019

irule help

Hi have a request for the follwing

Please implement below rules for the following on http and https on xxx.yyy.com

https://xxx.yyy.com/

https://xxx.yyy.com/

 

if url containls "12_SERVICE=FILE_URLS" or "12_SERVICE=FILE_URLS2" and "12_SERVICE=FILE_URLS=PUBLIC_DOC_XML"

send traffic to "xxx2.yyy.com:10025"

else send traffic to

xxx1yyy.com:10002

xxx2yyy.com:10002

xxx1yyy.com:10056

 

what would be the irule this requirement if i want to put the three servers in one pool and the one server in another pool