Srinivasan_G_31
Oct 25, 2012Nimbostratus
iRule help
Hi,
I want an iRule which can match a specific URI on an incoming http request and redirect traffic to a specific pool member of a pool. Please help.
Srini
Hi,
I want an iRule which can match a specific URI on an incoming http request and redirect traffic to a specific pool member of a pool. Please help.
Srini
I want to match the digits (preferably with a syntax matching anything from 0 to 9) and want to route it to a specific pool member inside a pool.
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"*[0-9][0-9][0-9][0-9]*" { pool [LB::server pool] member 1.1.1.1 80 }
default { pool [LB::server pool] }
}
}
Aaron
Thanks Aaron. A general query though. I already have an iRule applied to a particular VS. How the system treates the second iRule on the same VS? Are the lookups performed on both iRules simultaneously?
https://devcentral.f5.com/internal-forums/aft/2164806
Aaron