yosry92_331999
Jan 16, 2018Nimbostratus
stream profile irule
i want an Arabic stream profile irule that can search for a word and change it with another Arabic word in Arabic web site
is this possible solution?
i got an error when i add STREAM::encoding utf-8 into this iRule 01070151:3: Rule [/Common/korabia3] error: /Common/korabia3:5: error: [command is not valid in current event context (HTTP_RESPONSE)][STREAM::encoding utf-8]
can someone help me with this? where should i put STREAM::encoding utf-8 in this iRule?
when HTTP_RESPONSE {
STREAM::disable
if { [HTTP::header Content-Type] contains "text" } { STREAM::encoding utf-8 STREAM::expression {@استطلاع@صصض@} STREAM::enable } }