Forum Discussion
Edgar_Palamarch
Nimbostratus
Jul 16, 2015iRule: Browser Error "The connection was reset"
Hello! I do appreciate your timely help with this issue I have.
I need to redirect all hits to specific URI to another pool keeping the same URI. Here is what I wrote that returns the above err...
cjunior
Nacreous
Jul 16, 2015Hi, if you are intent to only select a pool, maybe it should be:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/myuri" } {
log local0. "redirect to New.pool"
pool New.pool
} else {
pool Old.pool
}
}
statement uri in "pool New.pool [HTTP::uri]" is unnecessary here.
Hope it helps.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