Forum Discussion
George_Watkins_
Oct 12, 2011Historic F5 Account
Hi Tharum,
It sounds like what you're looking for is a stream profile. Go into "Local Traffic" > "Profiles" > "Other" > "Stream" and create a new profile. You can then specify a source string and target stream. The source is what the stream profile searches for and the target is what it replaces it with. In this case the config might look something like this:
profile stream stream_change_http_links_to_https {
defaults from stream
source "http://myhost"
target "https://myhost"
}
Here is the AskF5 overview of the stream profile as well as a Tech Tip that also covers stream profiles in iRules:
http://support.f5.com/kb/en-us/solutions/public/8000/100/sol8115.html?sr=17034734
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/101/LTM-stream-profile-Multiple-replacements-regular-expressions.aspx
-George