Forum Discussion
JCMATTOS_41723
Nimbostratus
Dec 02, 2008Proxypass with page content modification?
We are currently using the proxypass irule and are trying to add page content modifications and keep getting this error. We followed the instructions and uncommented the two STREAM lines below and add...
hoolio
Cirrostratus
Dec 03, 2008Can you log the value for "@$host_serverside$path_serverside@$host_clientside$path_clientside@" and see if that matches what you're seeing in the payload for the string(s) to replace?
If it does look right, then it might be server compression. LTM doesn't decompress response content so the stream filter wouldn't match. Ideally, you would be able to reconfigure the pool members to disable compression. Else, you can disable compression by rewriting the Accept-Encoding header to no value in the request.
Also, it would be more efficient to check if the response content type is text as you don't want to apply the stream filter against binary content. To update this you can change:
if {1 != $bypass} {
to:
if {1 != $bypass && [HTTP::header value Content-Type] starts_with "text"} {
Aaron
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