Forum Discussion
Steve_M__153836
Jul 14, 2015Nimbostratus
iRule Help - Capture URI, Modify, and Redirect
I have two sets of incoming URLs I need to pick apart and redirect based on their content. Both with the same formatting.
https://my.site.org/A/B/find-a-thing1/garbage
https://my.site.org/A/B/fin...
Kevin_Stewart
Jul 14, 2015Employee
You need someplace to store all of the values. You can also split the URI into a list and do it that way:
set tmp1 "/A/B/find-a-thing1/thing1detail/actualthing1/garbage"
set urilist [split $tmp1 "/"]
log local0. [lindex $urilist 5]
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