If you need configuration scalability, why not maintain your src-path to redirect-dst mappings in a String-type LTM data group
LTM -> iRules -> Data-group List
. An alternative to data-groups is an iFile. AFAIK, both are good options but LTM Data-groups parsing should outperform iFiles.
1. iRule Condition/Redirect statement:
if { [class match [string tolower [HTTP::path]] equals data-group-paths] ) }{
HTTP::respond 302 location "[class match -value [string tolower [HTTP::path]] equals data-group-paths"
}
2. data-group-paths (Type String) formatting:
“/path1/asd.asmx” value/description “https://somedomain.asd.com/1”
“/path2/asd.asmx” value/description “https://somedomain.asd.com/2”
...
“/pathx/asd.asmx” value/description “https://somedomain.asd.com/x”