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 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 haven't done this in production but I did do this in a lab at Agility. This may help you:
http://f5-agility-labs-irules.readthedocs.io/en/latest/class1/module1/irules/lab4irule_99.html http://f5-agility-labs-irules.readthedocs.io/en/latest/class1/module1/lab4.html
They replace the worked Damn with Darn. Scroll down all the way on the page that shows the solutions. The first link shows the full solution.
does it work with arabic??
Try it for youself and find out. Like I said, I have not used this in production nor do I have anything in Arabic.
I see you created a new question: https://devcentral.f5.com/s/feed/0D51T00006i7hjsSAA
 
It would be easier to help you if you provided all the information in the same post.
 
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 } }