Forum Discussion
Ajac_2520
Nimbostratus
May 22, 2013iRule replacing payload
Hi,
I have read a number of different posts on the subject, but can't get it to work.
All I need to do is replace http with https in a response, but no luck. I have tried some variat...
Kevin_Stewart
Employee
May 22, 2013I think your best bet is an iRule-based STREAM expression. The following link has an example that replaces http:// with https:// in the response.
https://devcentral.f5.com/wiki/iRules.STREAM__expression.ashx
The only caveat depends on which version your running. v9 and v10 require you to set the HTTP profile's Response Chunking value to "Rechunk". In v11 that is no longer required.
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