Forum Discussion
Jeremy_Lanzarot
Nimbostratus
Aug 17, 2006URI based redirect
We have several applications running behind this particular VIP, all using the same pool. We migrated one application so that we required it use the same VIP but be redirected to another pool. The problem we were seeing is that between 20 and 40% of the time we would be presented with 404 errors when testing other applications on the VIP that were still supposed to use the old pool. I have been asked to see if the irule coding had anything to do with this failure becasue oddly enough, when the irule was removed the 404's on the other applications went away. We are using 4.2 PTF 10. Here is the irule:
if (http_uri starts_with "/Engineering/WeightCalc") {
redirect to "http://%h/WeightCalc/"
}
else if (http_uri starts_with "/WeightCalc") {
use ( asep702a_7000 )
}
else {
use ( efactory-http )
}
Thanks you.
- Colin_Walker_12Historic F5 AccountCould it be that the WeightCalc URI isn't valid on some of the hosts? This would make sense as to why you're seeing the problem when redirecting all requests to that URI if they match your criteria.
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