Forum Discussion
FishNiX_29746
Nimbostratus
Feb 19, 2012Flexible host + uri redirector with data-groups
Hi!
We have an irule that I've been trying to port over from v9. In v9 it was simple... I had 2 classes, a keep_uri and a nokeep_uri class, each in the format:
hosthe...
FishNiX_29746
Nimbostratus
Feb 21, 2012Thanks Aaron -
I don't think I have a choice wrt iterating over the data-group... I want to modify the key when doing a match and I'm not sure of a better way to do that. For example:
Someone requests site.example.com/foo/bar
I have a data-group entry that says site.example.com/foo { data http://someothersite.example.com/baz }
I need to match on equals site.example.com/foo or starts_with site.example.com/foo/ <-- notice the trailing slash
I don't know if there is better way to modify the entry directly with the class command?
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