Forum Discussion
The_Bhattman
Jun 09, 2011Nimbostratus
Hi Bob,
I don't I am understanding what you mean by "NOT redirecting to the pool listed" Let's explain what the code I posted does. Then let me know where the logic doesn't work to what you want it to do.
The code I posted basically states that if a request comes in with https://secure2.mydomain.com/mcbob or https://secure2.mydomain.com/mcbobandstuff it will forward the request to pool secure2.mydomain.com. If the request is https://secure.mydomain.com/ or https://secure.mydomain.com/mcbob or https://secure.mydomain.com/blahblah it will go to pool secure.mydomain.com. If a request comes to the vip as https://secure3.mydomain.com/ it will not match the switch and IF statements and thus rely on the default pool that you have set in the virtual address.
I hope somewhere in my explaination clarifies what the code is doing vs what you want it do.
Bhattman