Forum Discussion
mike03_367540
Nimbostratus
Aug 08, 2018irule to redirect traffic to pool for two url
Looking for an irules to redirect traffic to pool for only two specific url
Samir_Jha_52506
Noctilucent
Aug 08, 2018Hope its URL. Check it out
when HTTP_REQUEST {
if { (string tolower [HTTP::host] equals "www.xyz.com") or (string tolower [HTTP::host] equals "www.pqr.com") } {
pool pool_common_ABC
}
}
mike03_367540
Nimbostratus
Aug 08, 2018Thanks for quick response can we add else command and rest of traffic should be
rejected when HTTP_REQUEST { if { [string tolower [HTTP::host] equals ";] or [string tolower [HTTP::host] equals ";] } { pool pool_common_ABC } else { reject } }
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
