Forum Discussion
Ravish_Patel_31
Nimbostratus
Nov 08, 2018url re-write and direct it to pool
currently i have one Virtual server and different http requests are redirected to different pools using SNI. i.e host url is matched and then http traffic is forwarded (forward traffic in local polic...
jaikumar_f5
Noctilucent
Nov 09, 2018Hi Ravish,
Try this, use the string map to map the / with the new uri /loc1/loc2/.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"httprequest.com" {
HTTP::uri [string map {/ /loc1/loc2/} [HTTP::uri]]
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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