Forum Discussion
HTML source code rewrite or proxy via iRule
Rewrite href link using content html profile and iRule???? I was pointed in this direct for being able to rewrite all the href links that point to a certain URL abc.def.com to another link 123.def.com. The guidance I got was to create a Content profile for HTML and then use that to replace the content in the tag.
I figured out how to write the profile but I do not know how to write the iRule. Any assistance would be greatly appreciated.
- bbell_138059
Nimbostratus
I found a link for the Content profile but in the article is doesnt state how to write the iRule
https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-concepts-11-5-1/10.html
it seems the html / content profile never took really off, the wiki has limited info and i just seem unable to find any example
someone starts with it but the STREAM profile is suggested
https://devcentral.f5.com/questions/is-it-possible-to-do-html-content-re-write-modification-from-f5
here again the stream profile is suggested
https://devcentral.f5.com/questions/modify-html-content-with-an-irule-48111
so if that works for you it might be easier
Recent Discussions
Related Content
* 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