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 ...
gamm_31377
Nimbostratus
Jun 29, 2015Thanks for the response. Here are both events:
Thanks Jürgen
when HTTP_RESPONSE {
Check if server response is text based
if { [HTTP::header Content-Type] contains "text" }{
make the things invisible
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;"@}
STREAM::enable
}
}
when HTTP_RESPONSE {
Check if server response is text based
if { [HTTP::header Content-Type] contains "html" }{
STREAM::expression {@\r\n\s*\r\n\s*
}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