I'm fairly new with programming and TCL. I'm working on F5 iRules which utilize tcl.
Essentially what I need to do is strip out the first portion (/Version_13.0.001/) of my URI path below:
/Version_13.0.001/hs/user/123
Making the end result URI to:
/hs/user/123
Below is the basic logic I have, how would I incorporate this into my below irule?
if { ([HTTP::path] contains "Version_13") } {
pool version_13_pool }