Forum Discussion
Paulo_Vinicius_
Altocumulus
Feb 13, 2023Implementing new IP forwarding virtual servers using IP Address Lists (shared objects).
Hi Dear F5 DevCentral community! We have a client that already uses IP forwarding virtual servers using as a source an IP Address /32, especifying exactly the source that these IP forwarding virt...
keefyweefy
Nimbostratus
Mar 25, 2011Thank you both for your responses. It appears the text wasn't being replaced due to compression. I changed the irule to include:
when HTTP_REQUEST {
Disable the stream filter for all requests
STREAM::disable
remove the compression offerings from the client
HTTP::header remove "Accept-Encoding"
}
when HTTP_RESPONSE {
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Replace
STREAM::expression {@Hello@12345@}
Enable the stream filter for this response only
STREAM::enable
}
}
I think the 'overload' function referred to by Michael will come in usefull when we go live.