Forum Discussion
rama_127949
Nimbostratus
Feb 08, 2004Force node selection on the URL
Hi,
I need some help on node selection stuff.
I have 2 servers behind my VIP and they need to be tested by a third party. I would like to set up in such a way when they use a particular url, they get the first server and then another url to get to the second server.
the URLs will be something like:
http://vip?webserver1 ---- goes to webserver1
http://vip?webserver2 --- goes to webserver2
Does anybody know a way to achieve this?
Thanks a ton.
Rama.
- rama_127949
Nimbostratus
Thanks for your reply. - Here is one option:
if (http_uri ends_with "webserver1") { use pool webserver1 } else { if (http_uri ends_with "webserver2") { use pool webserver2 } else { discard } }
- Loc_Pham_101863Historic F5 AccountHere's the feedback from one of our UIE experts:
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