Forum Discussion
brownie6969_121
May 31, 2012Nimbostratus
redirect irule
our old application url that pointed to the F5 vip was mybicrt.company.com. The new code is mybicrt.company.com/analytics. i created the following that achieves that part of it when HTTP_REQUE...
Michael_Yates
Jun 01, 2012Nimbostratus
Hi Brownie6969,
It looks to me like you are just trying to change the sub-directory (adding "/analytics"), which should not require a redirect.
Would something like this work for you?
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/" -
"*/saw.dll" {
HTTP::uri "/analytics[HTTP::path]"
}
}
}
Hope this helps.
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