falooda_281506
Sep 14, 2016Nimbostratus
iRule to route
I want to create an irule for the below. Is it appropriate to have specific URI's define going to the URI Pool or can we say anything with a URI goes to this pool. Everything else root of example.com goes to another pool
example.com goes to pool Example
and anything else example.com with any URI goes to pool URI_POOL
would this be appropriate:
when HTTP REQUEST { if {[string tolower [HTTP::uri]] contains "/*/}{ pool URI_POOL} else pool EXAMPLE }