Forum Discussion
FishNiX_29746
Feb 21, 2012Nimbostratus
Thanks 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?