Forum Discussion
F5 LTM
Thanks Hooni, my problem with load balancing for URL Path
Hi, ahmed-ys
Do you mean that only requests coming to /path1/* should be load-balanced, and any other requests should be denied?
If so, you need an iRule (or a policy) that would enforce it.
You also need an HTTP profile in your virtual server, and if the traffic is encrypted, you need Client and Server SSL profiles.
/Mike
- ahmed-ysMar 06, 2023Altostratus
Thanks, Mike maybe my question is not clear, the question is the following, is the path of the server should be put into consideration when we will configure the virtual server? if the path is the same in two backend server
- Mike757Mar 06, 2023MVP
Hi, ahmed-ys
In F5, you have the option of considering the HTTP path to perform load balancing decisions - for instance, URIs matching /path1/* are load-balanced to one pool, URIs matching /path2/* are load-balanced to a different pool. Just google it, and you'll find multiple examples of how to do that using iRules.
But if you need to do it in this scenario, I cannot say. It depends on the needs of the application itself. The best person to answer that question is the application owner/developer. Did they give you any specific instructions regarding HTTP path?
/Mike
Recent Discussions
Related Content
* 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