Forum Discussion
JWhitesPro_1928
Apr 14, 2015Cirrostratus
F5 Content Switching
I am coming from a netscaler world where they had an element in the UI for content switching...
I know with F5 you can use iRules to select a Pool but the problem I find with that is in the nets...
DEJ
Apr 15, 2015Nimbostratus
Hello,
I'm combining a couple of iRules but the below seems a possible solution. Anyone viewing, please feel free to make corrections. As I have not done this before, I am not sure how the F5 handles redirecting to the virtual, whether it's a 301/302 or transparent.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"www.mycompany.com" { virtual virtual_server_A }
"email.mycompany.com" { virtual virtual_server_B }
}
}
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