habib_Khan
Jun 08, 2016Nimbostratus
stream profile-- using irule need to replace text
when i access a url, below is the page content displayed. InstallApplication
I am using stream profile with irule to replace the text "InstallApplication" with some garbage text. I tried below url with stream profile, this is not working. Kindly help.
when HTTP_REQUEST {
Disable the stream filter for client requests
STREAM::disable HTTP::header remove "Accept-Encoding" } when HTTP_RESPONSE {
Enable the stream filter for XML responses only
if { [HTTP::header value Content-Type] contains "text/xml"} {
Replace 'InstallApplication' with 'MisMatch000'
STREAM::expression {@InstallApplication@MisMatch000@} STREAM::enable } }