Forum Discussion
sbadea_81872
Nimbostratus
May 01, 2009irule for allowing mixed content
One of our websites protected by SSL (SSL certificate is installed on our BIG-IP LTM ) contains reference links (pictures, menu bars)to http.
When someone is hitting the web site using IE8, ht...
hoolio
Cirrostratus
May 05, 2009Hi Sorin,
Make sure to explicitly disable the stream filter if the response type isn't text. This is something that SOL8115 doesn't show, but should.
when HTTP_RESPONSE {
if { [HTTP::header Content-Type] starts_with "text/" }{
STREAM::expression "@abc@123@"
STREAM::enable
} else {
STREAM::disable
}
}
Also, if the string you're replacing is a different length than the replacement string, you'll need to create a custom HTTP profile with response chunking set to rechunk. This gets around a mismatch in content length as chunked responses don't use a content length header.
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