Neil_Harbaruk_1
Aug 01, 2006Nimbostratus
iRule for https:URL:<port>/URI
I am looking for a script to forward based on any combination of URL:/URI.
e.g. https://web1.whatever.com:8081/money --> pool1
https://web1.whatever.com:8081/coins --> pool1
https://web2.whatever.com:8082/coins --> pool2
https://web3.whatever.com:8082/coins --> pool3
If using nested else-if statements, i'd like to use the url's web1, web2, web3 as the main selection criteria. For each group of web1, 2, 3, there will be a whole bunch of web1, 2, 3 statements which will be have either different port numbers or different uri's (or both)
I have not scripted anything in years, so please bear with me.
I appreciate any assistance on this.