Forum Discussion
jjenkins334_439
Nimbostratus
Oct 12, 2012New to iRules and Tcl
I'm new to iRules, and tcl. I have two url's blabla.test.com and blabla1.test.com, that resolve to the same IP address. My customer wants blabla1 to only go to one private ip address, and blabla t...
What_Lies_Bene1
Cirrostratus
Oct 12, 2012Welcome John. Try this - with '.com' - took me a while to spot that!
when HTTP_REQUEST {
if { [HTTP::host] equals "blabla1.test.com" } {
pool test1_pool }
else {
pool test_pool }
}
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
