Forum Discussion
Abed_AL-R
Nov 05, 2020Cirrostratus
excluding specific uri from datagroup
Hello guys I'm using this iRule to do redirection with data group: when HTTP_REQUEST {
if { [class match [string tolower [HTTP::uri]] starts_with myweb_Uri_Data_group] } {
HTTP::redirect...
Abed_AL-R
Cirrostratus
That's a problem when have hundreds of URI's starting with /myweb/folder1/coronatime
jaikumar_f5
Nov 05, 2020MVP
Sorry I'm not following you, We are not going to use starts_with or contains, but be using equals. When equals condition is called it will look for exact match of the entire URI.
Can you tell how many you want to exclude from your original.
And yes you can still create a new DGL for exclusion and then use the return statement to break the flow on the current event.
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