Forum Discussion
Rob_78395
Nimbostratus
Nov 07, 2012Simple Reverse Proxy
Hello - I have 3 different URLs pointing to the same Virtual Server on LTM VE 11.2.1 so a dig for each looks like:
example1.com - 10.0.0.1
exmple2.org - 10.0.0.1
example3.net- 10.0.0.1...
What_Lies_Bene1
Cirrostratus
Nov 07, 2012You can can use a Data Group for this with the value for each domain being the Pool name required, it'll be very easy to update too.
when HTTP_REQUEST {
if { [set newpool [class match -value [HTTP::host] equals host-data-group ]] ne ""}
{ pool $newpool }
}
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