gdoyle
Oct 28, 2018Cirrostratus
Need to use last 2 of domain name as URI Variable.
So I have a customer that has 15 or so different state based domains (think something like "mydomainFL.com", "mydomainTN.com", etc...). They have a requirement that incorporates the last two or three letters in their domain name as a portion of the redirected URI path. For example, if the user goes to the redirected URL/URI will be something like ";.
My question is, how, in an irule, can I have it pull the last two or three, and use those in the URI? Is that possible?
Thanks.