Forum Discussion
Stephen_Price_1
Nimbostratus
Jun 16, 2017URI Rewrite always ends with redirect
Have to manage traffic from 4 different URI and direct to a single URI to the pool while never allowing the user to see any change in the browser.
Ex-
Send to pool as
...
Faruk_AYDIN
Altostratus
Jun 16, 2017Hi Stephen,
You can use the following irule to accomplish your goal:
when HTTP_REQUEST {
if {([HTTP::uri] starts_with "/test1") || ([HTTP::uri] starts_with "/test2") || ([HTTP::uri] starts_with "/test3") || ([HTTP::uri] starts_with "/test4") }{
HTTP::uri "/testZ[string range [HTTP::uri] 6 end]"
}
}
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