Forum Discussion
JeffM
Nimbostratus
Apr 29, 2014iRule to include / but not /*
A request has come in to create an iRule to filter traffic for /, /common, /etc, and /index.html to goto pool_A and all other content to goto pool_B. The issue I am running into is that once I inclu...
Kevin_Stewart
Employee
Apr 29, 2014Can you call a -glob for / and then have an else statment for the rest of the paths to be managed by a Data Group List. This would be safter for on going updates/maintenance.
Perhaps something like this might be better:
when HTTP_REQUEST {
if { ( [HTTP::uri] equals "/" ) or ( [class match [string tolower [HTTP::uri]] starts_with my_uri_dg] ) } {
pool pool_A
} else {
pool pool_B
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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