Intermediate iRules: Handling Strings
Updated Oct 02, 2023
Version 3.0Was this article helpful?
How to construct URI path redirection based on dynamic header values received in an API call. For instance abc.google.com receives these header values:
country=unitedstatesofamerica
state=florida
city=tampa
it should redirect to another VIP (def.google.com) based on those header values as shown. In this case $ is a delimiter in the URI path.
https://def.google.com$country=unitedstatesofamerica$state=florida$city=tampa
Thanks would appreciate any help in composing this irule.