Forum Discussion
Rick_16795
May 15, 2007Historic F5 Account
Strange redirect behavior
I have a basic iRule to redirect for a couple of pages only. However, when I apply this iRule
a long delay takes place at a seemingly unrelated page.
Here's the iRule:
rule test_e {
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/Default.aspx" {
HTTP::redirect "https://www.domain.com/Default.aspx"
}
"/Signin.aspx" {
HTTP::redirect "https://www.domain.com/Signin.aspx"
}
}
}
}
The redirect seems to work fine, but further into the session between two other pages that are not being redirected a long delay happens, after the (1 min) delay the transaction will complete. And it's only apparent with IE not Firefox. When I remove the iRule things work fine. ANY insight into why this is happening would be very helpful.
--Thanks
- Colin_Walker_12Historic F5 AccountAre you getting into a redirection loop? It looks like the URI you're redirecting to is the same URI as the one you're checking for in your switch structure. Could it be possible that IE is getting confused and trying to redirect x number of times until it finally gives up?
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