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...
Kevin_Stewart
Employee
Jul 16, 2015You don't need to re-apply the URI.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/myuri" } {
log local0. "redirect to New.pool"
pool New.pool
} else {
pool Old.pool
}
}
You're very likely getting that error because of a logic error in the iRule. You'll also want to enable OneConnect in your VIP and in the associated HTTP profile.
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