Forum Discussion
Otto_Schmedlap_
Jun 14, 2006Nimbostratus
F5 sending RESET on redirect
I am trying to get a redirect to work per the following config:
virtualA = 1.1.1.1:80
poolA = 1.1.2.1.81, 1.1.2.2:81
iruleA =
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "http:///logon/logon.html"
}
I've done a network trace and find the F5 sends a RESET packet after the client initiates an HTTP requet for /logon/logon.html. The client tries twice and quits.
Send me(ottos07@hotmail.com) your email addr and I'll send you the network trace.
- Deb_Allen_18Historic F5 AccountSo you get the redirect, but the subsequent request is reset?
You could add an explicit else at the end calling the default pool for all other requests, but it should be falling through with the logic you have.when HTTP_REQUEST { if { [active_nodes poolA] < 1 }{ log local0. "No nodes available for poolA. Redirecting..." HTTP::redirect http://fallbackhost/sorry.html } elseif { [HTTP::uri] equals "/" } { HTTP::redirect "http:///logon/logon.html" } }
- Otto_Schmedlap_NimbostratusWhat I've found is if I refresh the browser without closing it, the page is displayed like it should be. The network trace on that shows normal traffic flow without the resets. Any ideas?
- hoolioCirrostratusHi,
- Thanadon_WattanNimbostratusI face the same problem. it looks like browser receive all content but it doesn't show 'til I click reload button.
- Colin_Walker_12Historic F5 AccountThat's a strange symptom, for sure. If you're using as simple an iRule as was posted above, though, I highly doubt it's a problem with the rule itself. I'd recommend looking into the general config of the VIP/pool/member, and perhaps opening a case with support if needed, as hoolio suggested.
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