Forum Discussion
Fabio_Sozzi_308
Feb 17, 2011Nimbostratus
iRule for Find&Replace
Hi everyone,
i need to implement an irule for find a string into the HTTP Body and replace with another.
I tried to search a function to satisfies my request but i found nothing.
I tried with the String functions but i fail to replace all substring into the HTTP Body.
Can you help me please?
Thanks for any answer.
Regards,
Fabio
- JRahmAdminhave you looked at the stream profile?
- hooleylistCirrostratusAs Jason suggests, you can take a look at the STREAM::expression wiki page for examples of rewriting response content. You'll need to either disable compression on the pool members or by removing the accept-encoding request header.
when HTTP_REQUEST { Remove Accept-Encoding header to prevent server response content compression HTTP::header remove Accept-Encoding }
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