Forum Discussion
iRule URI rewrites don't always use the correct pool
- Nov 01, 2024
dra1nbama9e Can you please provide the configuration of your virtual server that this is associated to? My guess currently is that that host was sent to the incorrect pool previously and when the new request came in again for the new path it went to the old pool. You can try configuring a /32 OneConnect profile and configuring it on the virtual server in question to see if that corrects the issue.
can you verify that this part is ok?
it seems different from examples in https://wiki.tcl-lang.org/page/string+map
.............
elseif { [HTTP::uri] starts_with "/api" } {
set uri [string map [list "/api" "" ] [HTTP::uri]]
HTTP::uri $uri
pool example.com_http_9241_pool
}
.........
Hello zamroni777
Thank you for the prompt reply.
I'll make sure it's correct and I'll get back to you.
Recent Discussions
Related Content
* 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