Forum Discussion
Eddie_27920
Nimbostratus
Feb 05, 2009iRule for 2 urls to same pool but different websites
OK so I'm very VERY new to this iRule stuff. We really haven't used our LTMs for much more than load balancing. What I'm looking for is a way to have lets say... www.abc.gov to a particular VIP with a pool os ISA servers and www.def.gov to the same VIP with the same ISA servers. These ISA servers will be publishing the 2 different websites. Is this possible?
My reason for this is that I'mlearning about iRules for if a url is something to send it to a certain pool, but that does not help with the amount of pools used on that contain the same nodes. Remember that the nodes are ISA publishing websites to the public.
Thanks,
Eddie
- hoolio
Cirrostratus
Hi Eddie,when HTTP_REQUEST { Check the requested host header switch [string tolower [HTTP::host]]{ "site1.example.com" { pool site1_pool } "site2.example.com" { pool site2_pool } default { pool default_pool } } }
- Eddie_27920
Nimbostratus
Hi Aaron, thanks for the quick reply. - hoolio
Cirrostratus
Hi Eddie,
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