Forum Discussion
George_32239
Nimbostratus
Oct 27, 2009Multiple comparisons in an iRule
Hello All,
I need a rule that will look at a hostname the [HTTP::host] and also looke at part of the URI, the [HTTP:uri] bit.
If both conditions are the same I need to se...
George_32239
Nimbostratus
Oct 27, 2009I think I figured it out using the following;
when HTTP_REQUEST {
if { [HTTP::host] eq "somehost.com" && [HTTP::uri] contains "somestring"} {
pool some_pool }
else
{pool some_other_pool}
}
I am now going to try the string tolower bit
Thanks
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
