uri decoding
1 Topichaving /%23/path - /#/uri issue matching irule
Our developers have decided to user //uri for the match case, in the f5 it shows up as just / with no //uri. I've tried uri decoding, string map, no luck. Here's my latest attempt to catch the / at the beginning of the uri.. when HTTP_REQUEST { if { [URI::decode [HTTP::uri]] starts_with "/" } { switch -exact [string tolower [HTTP::uri]] { "//a" { HTTP::redirect "http://www.Aredirect.com} "//b" { HTTP::redirect "http://www.Bredirect.com} "//c" { HTTP::redirect "http://www.Credirect.com} } } }Solved652Views0likes8Comments