Forum Discussion
avir_225604
Oct 06, 2015Nimbostratus
i rule syntax issue
HI Team,
I am a newbie on f5 irule..I am learning the irule thing now..One the thing i am facing issue as follows:
my i rule code is like this:
when HTTP_REQUEST {
if{ [HTTP::header U...
IheartF5_45022
Oct 06, 2015Nacreous
Looks fine to me - try formatting like I have....?
when HTTP_REQUEST {
if { [HTTP::header User-Agent] contains "iPad"} {
pool pool2
} elseif { [HTTP::header User-Agent] contains "Android"} {
pool pool3
} else {
pool pool1
}
}
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