Forum Discussion

F5-Geek's avatar
F5-Geek
Icon for Nimbostratus rankNimbostratus
Feb 15, 2018

i-rule help

Please help me to configure the i-rule

 

HTTP::respond 200 content "abc_dg"}

 

where abc_dg is datagroup, i want get the value from the datagroup and send in the http response

 

  • sample datagroup:

     

    string type abc_dg

     

    content1 "blahblah1"

     

    content2 "blahblah2"

     

    --

     

    Use this in your iRule:

     

    set contentdata [class match -value "content1" equals abc_dg]