ch4f5_166880
Oct 22, 2014Nimbostratus
having /%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}
}
} }
i think client (browser) does not send URI-fragments to server (bigip).
Fragment identifier