Forum Discussion
Brett__01_13258
Mar 14, 2014Nimbostratus
irule redirect on uri including default location
Im having trouble with requests that i need to redirect based on uri.
My irule is
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/test/" - "/test1/"
{ HTTP::redirect "http:/...
Mar 14, 2014
Hi Brett!
If you use /test as an option "/testing" it would not trigger it. Only starts_with would.
/Patrik
Ps. You might want to remove the "-glob" since it forces the LTM to work with single core while processing traffic on VIP's that has this iRule assosiated with them (unless you need wild card matching, which you don't in your example. Ds.
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