Mario_9378
Nov 13, 2007Nimbostratus
Rewriting URLs (stripping out prefix)
I'm new to iRules and I would like to be able to do something like so:
if URI starts with /2.4/rest_of_URL then
goto pool X but strip out 2.4 and have /rest_of_URL seen at destination
if URI starts with /2.5/rest_of_URL then
goto pool Y but strip out 2.5 and have /rest_of_URL seen at destination
I've done this type of thing with Apache's mod_rewrite/mod_proxy, brain dead easy.
Anyway, f5 management is a very minor aspect of what I do day to day and I didn't want to expend lots of time with experimentation and/or trying to find examples when I'm sure there's a domain expert here that can answer the question trivially.
Regards,
-M