Forum Discussion
Abed_AL-R
Cirrostratus
That's a problem when have hundreds of URI's starting with /myweb/folder1/coronatime
jaikumar_f5
Nov 06, 2020MVP
Yes the above logic would work too. Basically when you call return, if would stop further processing on that event. Here its HTTP_REQUEST. But note this will stop for this Irule alone. If there's other Irule mapped to the VS, they will still function
There's multiple options you can go,
- Use if/elseif option. Whichever URI's you want to be excluded, you can create a new datagroup for that and call it in the 1st if condition. Whether you want to go with starts_with or equals is purely your design call. In that way, when 1st if is passed, further elseif wont be processed. When it not matches, it goes to elseif, and checks with the other DG you have, in your case myweb_Uri_Data_group.
- Yes you can use return to stop further process of this event as well.
Good luck.