Forum Discussion
Tom_Kilday_9259
Nimbostratus
Jan 29, 2009How to remove mixed content for https site
Looking for an Easy way. Remove the insecure javascript that points to the
watermark.gif
Script to remove
I tried this but it doesn't work
when HT...
hoolio
Cirrostratus
Feb 03, 2009If you want to replace a string within the request or response payload, you can use a blank stream profile and a STREAM::expression based iRule. Set the string to replace as your string with the regex metacharacters escaped. Make sure to check the STREAM::expression wiki page (Click here) for details.
when HTTP_RESPONSE {
Disable the stream filter by default
STREAM::disable
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace google search form with nothing
STREAM::expression {@@@}
Enable the stream filter for this response only
STREAM::enable
}
}
Aaron
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