Forum Discussion
Adminet_1714
Nimbostratus
Apr 23, 2009Modifying the content of an HTML page when it's compressed
Hello dear forum.
I would like to modify the content of an HTML page (to replace a string by another one).
I've found an irule for this here :
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=5715457154
The problem is that the content of this page is sent compressed by the HTTP server. So the irule never finds the string I want to replace.
Do you know if there is a way to analyse compressed content or to "decompress" an HTML page on the Big IP ?
Technical information : we are running on BIG-IP 9.4.4 Build 73.1 Hotfix HF1.
Thanks in advance for your help.
Jean-Guillaume.
- James_Quinby_46Historic F5 AccountIs there any way to disable compression in the web server, via configuration? You could try that first, then let your LTM do compression.
when HTTP_REQUEST { if { [HTTP::header exists "Accept-Encoding"] } { 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