Forum Discussion
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
- Philippe_CLOUP
Employee
Hi shashanks,
i think that you also need to rewrite the response pages , no ?. I mean they will send you URIs that will be wrong if you don’t rewrite them back to the browser.
if that’s the case, then i would probably look into the rewrite profile instead of iRule.
hope that help
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com