Forum Discussion
Manu_Nair
Feb 22, 2022Cirrus
iRule to Forward Traffic Based on URL Name
Hi, I am in a situation where we have shortage of IP address and am looking for an alternative way to forward traffic to pools based on URL. I am not really good with iRule hence looking for assista...
- 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
}
}
neeeewbie
Feb 23, 2022MVP
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
}
}
- Manu_NairFeb 23, 2022Cirrus
Thanks for this information. I will try with this.
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