Forum Discussion
gamm_31377
Nimbostratus
Jun 26, 2015multiple iRules and stream profile
Hello
I have 2 iRules bound to 1 Virtual Server.
Each of this iRules should make modifications on the HTTP_RESPONSE(HTML payload) from the server using a stream profile.
But only the iRule from ...
Hannes_Rapp
Nimbostratus
Jun 29, 2015Indeed, you will have to all your stream expressions in the same IF condition. What may help you is if you use the backslash symbol to split a single long expression to two/three/four lines. Also the comparison against "text" Content-Type should work for both, since "text/html" are usually together 🙂
STREAM::expression { \
@id="presence"@id="presence" style="display: none;"@ @id="mainTitle_presence"@id="mainTitle_presence" style="display: none;"@ @id="prsPrefs"@id="prsPrefs" style="display: none;"@ @ \
\r\n\s*\r\n\s*Hannes_Rapp
Nimbostratus
Jun 29, 2015Would replace the first sentence, if only DevCentral would let me do that.
Indeed, you will have to call all your stream expressions in the same IF condition, assuming what you want is both of them to trigger on a single GET request.
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