Forum Discussion
Renjith_p_Mathe
Nimbostratus
May 19, 2014Virtual Server creation & mapping
Dears
Kindly assist me on F5 for the following requirement.
A new virtual Server creation and its mapping to existing back end webserver listening on a specific port (eg: 8080)?
Kevin_Stewart
Employee
May 20, 2014HTTP classes are replaced with policies in 11.4, and are much more robust than before. If you choose the iRule route though, here's what that may look like:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"abc.com" {
pool abc_pool
}
"xyz1.com" {
pool xyz1_pool
}
"xyz2.com" {
pool xyz2_pool
}
}
}
For each new request, assign a pool based on the incoming HTTP Host header.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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