Forum Discussion
Ravish_Patel_31
Nov 08, 2018Nimbostratus
url 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
Nov 09, 2018MVP
Hi 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]]
}
}
}
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