Forum Discussion
Rob_Eberhardt_7
Sep 27, 2007Historic F5 Account
Basic 404 prevention iRule not working in IE (Firefox fine)
I have a basic 404 prevention iRule that sends one message if we receive a 404 from the backend, and another message if the pool members are not available. The rule works 100% in Firefox, but does no...
Rob_Eberhardt_7
Oct 09, 2007Historic F5 Account
Got it all working, and have answers for all of the behavior. So with the iRule, 404 prevention worked fine in all browsers except IE 6 at the customer site. Turns out they had some custom IE build that was somehow causing resets instead of 404s (no clue how). I had them reset IE 6 settings to default, and 404's started working. However, server down prevention messages didn't work in any browser, anywhere due to the LB::Failed usage in my iRule. I tested this using both a purposefully broken monitor, as well as simply disabling the server. I ended up switching LB::Failed to:
when HTTP_REQUEST {
if { [active_members http_pool] < 1 } {
HTTP::respond 200 content [subst $::Servers_down]
}
}
Thanks for all the responses
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