LTM stream profile: Multiple replacements & regular expressions
LTM's built-in stream profile (and related iRules commands) offer a relatively low-overhead method to replace specific strings in the server response data. One of the most common uses for stream...
Published Sep 12, 2007
Version 1.0Deb_Allen_18
Historic F5 Account
Joined September 25, 2004
Deb_Allen_18
Historic F5 Account
Joined September 25, 2004
hooleylist
Sep 13, 2007Cirrostratus
It might be helpful to note that by default, a stream profile is applied to both request data and response data. So for HTTP, be aware that POST requests with data could be modified if there is a match. You might want to use an iRule so you can specify that the replacement is only done in the HTTP_RESPONSE event.
Also, streams only modify the data. So if you want to make replacements in the request or response headers you can use 'HTTP::header replace'.
Aaron