Forum Discussion
Russell_McGinni
Nimbostratus
Feb 03, 2010iRule to alter streamed response screwing up!
We use our F5 throughout all our environments, dev, qa and live (and beta). We have an iRule in place (as shown below) which is meant to find all occurances of www.blah.com and change it to qa1.blah.c...
Feb 03, 2010
I believe the problem lies in the fact that you not disabling the STREAM profile for requests not matching your criteria. If a first request comes back that matches the content type you are disabling the profile, updating the expression and then enabling it. The profile will remain enabled for that virtual server on all subsequent requests with that given expression until you explicitly disable it or it is changed by a subsequent matching response.
I would try moving the "STREAM::disable" to the first line in the HTTP_RESPONSE event and then only enable it when your match condition is reached.
-Joe
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