Forum Discussion
npmaslow_68104
Jun 25, 2009Historic F5 Account
Irule applied stream profile and URLs in comments - any thoughts?
This is more of a general TCL quesiton than an irule question, but it involves the selective application of the stream profile in an irule.
Here is the general form of the irule:
...
CharlesCS
Cirrus
Jul 29, 2009Unfortunately, the following iRule still does not appear to be detecting the "\u002f" sequence correctly:
when HTTP_RESPONSE {
STREAM::disable
STREAM::expression "@http:{\\u002f\\u002f}pl2pass\.allegistest\.net@@"
STREAM::enable
}
when STREAM_MATCHED {
log local0. "[IP::client_addr]:[TCP::local_port]: matched: [STREAM::match], replaced with: [string map {http: https:} [STREAM::match]]"
STREAM::replace "[string map {http: https:} [STREAM::match]]"
}
It may be necessary to abandon the stream profile approach and instead try using the "regex_matches" operator.
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