Forum Discussion
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?
- BigD_300005
Cirrostratus
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.
- yosry92_331999
Nimbostratus
does it work with arabic??
- BigD_300005
Cirrostratus
Try it for youself and find out. Like I said, I have not used this in production nor do I have anything in Arabic.
- BigD_300005
Cirrostratus
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.
 
- yosry92_331999
Nimbostratus
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 } }
Recent Discussions
Related Content
* 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