Forum Discussion
RaRye
Nimbostratus
Dec 17, 2021how to modify the _sys_https_redirect to exempt a specific uri and use a specific pool or node for that uri?
I am trying to modify the _sys_https_redirect to exempt a specific uri in my site browse that specific uri in HTTP use a specific pool for that uri retains the function of the _sys_https_redi...
Mayur_Sutare
MVP
Dec 17, 2021Please try below irule and confirm if it works!
when HTTP_REQUEST {
if { ([HTTP::uri] contains "directory/directory") }
{
pool pool-A
}
else
{ HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] }
}
NOTE- I have kept redirect statement as it is.
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