Forum Discussion
A_Cline_27195
Nimbostratus
Jan 12, 2006Changing outgoing HTML with an iRule
I posted this in the wrong area at first. So here goes again...
I'm so new to BigIP and F5 that it hurts, so please excuse my lack of BigIP/F5 vernacular.
Application runs on Tom...
Jan 12, 2006
If all you want to do is to replace "http://" with "https://" in your response data, then it's fairly easy to do. A regsub call would be the easiest to code but probably the worst performance wise.
Check out this blog entry I posted a while ago. In it, the request is modified, but content within the response is modified as well. All you'll have to do is to code the HTTP_RESPONSE and HTTP_RESPONSE_DATA events, change the "find" and "replace" strings from "http://" and "https://" and you should be set.
http://devcentral.f5.com/weblogs/joe/archive/2005/07/27/1398.aspx
Click here
Let us know how this works out for you...
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
