Forum Discussion
CraigM_17826
Altocumulus
18 years agoOdd behaviour with WebSphere Portal
Hi everyone,
we are experiencing some odd behaviour with some embeded javascript (WebTrends log code) on our WebSphere portal. We are fairly sure it is being caused by the BigIP because if w...
hoolio
Cirrostratus
15 years agoHi Rich,
It would be more efficient to disable the stream profile from an iRule for all but the specific responses you want to rewrite. You can do this using a small iRule:
when HTTP_REQUEST {
Disable the stream filter for all requests
STREAM::disable
}
when HTTP_RESPONSE {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace http://www.server.com:80/wrc/fff with https://www.server.com/wrc/fff
STREAM::expression "@http://www.server.com:80/wrc/fff@https://www.server.com/wrc/fff@"
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