Hi ,
I am using below Irule to check URI and display content. Now i want to use Datagroup for that as there are many URLs. I have below sample code.
if { [HTTP::uri] starts_with "/mypage-abcd.htm" } {
HTTP::respond 200 content {abcd}
return 0
}
Now i want to display the content from datagroup to {abcd}.
Datagroup My_Content
abcd bcde cdef
Now It should display all content respectively. Like if page is mypage-bcde.htm then content should be {bcde}
Can somebody help me to write the code. I am very new to this.