Forum Discussion
DM_5174
Nimbostratus
May 19, 2011Multiple URI matching redirect
Hi All,
I was trying to accoplish the following things using a class or "string tolower" one-on-one matching to redirect the URI.
Can anyone please help or could suggest the best way to accompl...
hoolio
Cirrostratus
May 19, 2011Hi DM,
That looks like a good start. Which LTM version are you testing this for? If you're on 10.x you should replace matchclass with the class command and remove the $:: prefix from the datagroup name references in the iRule. You could then use class match -value to get the old service to new service mapping from the datagroup. The datagroup would be a string type with the key being the old app paths and the values being the new app path.
For 9.x, you can use findclass with the datagroup set as a string with the old_app and new_app paths separated by a space.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
