Forum Discussion

RAQS's avatar
RAQS
Icon for Cirrus rankCirrus
Jan 21, 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

 

 

 

 

1 Reply