Forum Discussion
iRule to Forward Traffic Based on URL Name
- Feb 23, 2022
Hi
below irule will help
https://support.f5.com/csp/article/K27803480
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]] eq "host1") {
pool pool1
} elseif { ([string tolower [HTTP::host]] eq "host2") {
pool pool2
}
}
Hello,
For this purpose, i would go for LTM Policy over irule. Its very easy to implement and also you dont need to know programming language to do it.
Regards
Seçkin
Thanks for the reply Seckin, I am new this Policy type as well, But i did not what parameter to keep, but looks i got few suggestions to use Policy. I will try it out.
Recent Discussions
Related Content
* 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