Forum Discussion
DB
Nimbostratus
May 11, 2007Can iRule be used to modify HTML code itself being passed?
Can iRules be used to modify the contents of an HTML page being returned to a client HTTP request? For example, if HTML page includes any link that begins with "http://images.dot.com/*" change it to "...
May 14, 2007
I do believe that you'll need 9.2 to support multiple replacements in a single stream profile. Also the stream profile does not support regular expressions (as far as I know). For that route you'll have to do it manually with the HTTP::payload command in conjuction with the TCL regsub command.
-Joe
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