URI lists in v11

I have a list of uri’s that I need to check against on incoming requests and send to an IP address or pool. I tried to put in the list with “or” statements but it wont load in v11.2. I am thinking the better way is to use iFules but all I can find on creating a file is something on a maintenance page. I would like to create the list in either a data group or a iFile, whichever is easier, to make it easier to maintain. I have searched all over but I haven’t found anything appropriate. Any direction would be greatly appreciated

I’d use a datagroup - populate the URIs into a datagroup, then something like

if { [class match -- [HTTP::uri] equals datagroup_name] } {
    pool POOL
  }

I am guessing I can use the node command to send it to an IP address as well?

Sure, what you do in the if block is up to you.

Thanks. One more question. On the Datagroup, I can structure it like:

“URI1” := “/URI1”,

“URI2” := “/URI2”,

“URI3” := “/URI3”,