Forum Discussion
Allen_Yu_168758
Nimbostratus
May 27, 2016Redirecting iRule by URL depth
Hi,
There is a request from our biz users that redirecting packets according URL depth, just wondering if it can be achieved by iRule.
Much appreciate if anyone's feedback.
Example:
the r...
Yann_Desmarest
Cirrus
May 27, 2016Hi,
You can do this using irule and universal persistence. I found a devcentral post that talk about your need. Maybe you can take the irule example provided to define your own :
https://devcentral.f5.com/questions/uri-session-id-based-persistence-issue
tpts6
Nimbostratus
May 27, 2016Hi Yann
Recently I also have same request from customer on this case.
But I'm curious, how to resolve if the case depend on "URI-Depth" not "URI-Path" or "URI-Session-id-based".
In HAPorxy case, we can do this by declaring "balance uri depth 3" in the configuration file (as described in this article, the "uri" section: http://www.onaxer.com/tag/load-balancing-algorithm-in-haproxy-to-be-used-in-a-backend/).
But, as of now the request need to do in on F5 SLB.
Appreciate if you could help or any ideas/suggestions.
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