Forum Discussion
Qasim
Cirrostratus
Aug 28, 2019URL PATH based routing
Hi, wondering if someone can help me here with a basic IRule that routes traffic to a particular pool based on matching a FQDN and URL path? The reason for this is that the same FQDN is used ...
eehir
Nimbostratus
Aug 28, 2019Probably something like this
when HTTP_REQUEST {
switch [HTTP::host] {
"abc.com" {
switch -glob -- [HTTP::uri] {
"/abc.svc" { pool abc_pool }
}
}
"efg.com" {
switch -glob -- [HTTP::uri] {
"/efg.svc" { pool efg_pool}
}
}
}
}
Qasim
Cirrostratus
Aug 28, 2019thanks Eehir/SNL, I have tried this now, I will let you know once I have a confirmation.
much appreciated
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