F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

RAQS's avatar
RAQS
Icon for Cirrus rankCirrus
Jan 20, 2020

iRule- URI Rewrite with Pool

Hi All,

 

Hope you all are doing good.

 

I have requirement as below :-

 

Whenever user hit “https:// exampledev.abc.com/arcgisportal/*” LB should rewrite it to “https:// example.abc.com /arcgis/*” and pass the traffic to pool which is having pool member as 10.130.115.174:7443.

 

Whenever user hit “https:// exampledev.abc.com/arcgisserver/*” LB should rewrite it to “https:// example.abc.com /arcgis/*” and pass the traffic to pool which is having pool member as 10.130.115.174:6443.

 

Whenever user hit “https:// exampledev.abc.com/webapps/*” LB should rewrite it to “https:// example.abc.com /webapps/**” and pass the traffic to pool which is having pool member as 10.130.222.90:443.

 

So in third requirement , i think rewrite is not required. It just when user hit “https:// exampledev.abc.com/webapps/*” then send the traffic to pool which is having pool member as 10.130.222.90:443.

 

Please let me know iRule for this.

 

Regards,

ShashankS