Forum Discussion
Sudhir_Sanil_88
May 19, 2006Historic F5 Account
irule to select pool based on fqdn
Hi,
I need an irule which can select the pool ( pool A or pool B) based on following criteria.
Example : web1.xyz.com and web2.xyz.com both resolve to same IP Address say 10.10.10.1, a ...
jba3126
Cirrostratus
Aug 10, 2006I have but one last question that was passed on by one of my co-workers. Will this preserve the URI? I ask because behind each URL is two applications. The trailing URI /blah1 and /blah2 point to two different applications. The way our devs. have Appache configured as best I understand, is to parse the HTTP request for the URI (/blah1 or /blah2) to determine which application pool to send the request to.
So the end goal is to have one VIP point to two pools. Have the iRule parse the host header (preserving the URI if possible) and send it to the appropriate pool.
For UAT Site -
https://uat.site1.com/blah1 (/blah1 goes to application 1)
https://uat.site1.com/blah2 (/blah2 goes to application 2)
Resolves to 10.0.1.25
and
For Conversion Site -
https://conv.site1.com/blah1 (/blah1 goes to application 1)
https://conv.site1.com/blah2 (/blah2 goes to application 2)
Resolves to 10.0.1.25
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
