Forum Discussion
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...
- Oct 22, 2014
i think client (browser) does not send URI-fragments to server (bigip).
Fragment identifier
ch4f5_166880
Oct 22, 2014Nimbostratus
I tried uri decoding another way, same blank "/" result..
when HTTP_REQUEST { log local0. "irule_blah [HTTP::uri] triggered!"
set tmpUri [string tolower [HTTP::uri]]
set uri [URI::decode $tmpUri]
log local0. "HTTP uri decoded to $uri triggered!"
log local0. "HTTP uri = [HTTP::uri] triggered!"
switch -glob $uri {
"//a" { HTTP::redirect "http://www.Aredirect.com}
"//b" { HTTP::redirect "http://www.Bredirect.com}
"//c" { HTTP::redirect "http://www.Credirect.com}
}
info tmm7[23795]: Rule /blah : irule_blah / triggered! info tmm7[23795]: Rule /blah : HTTP uri decoded to / triggered! info tmm7[23795]: Rule /blah : HTTP uri = / triggered!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects