Forum Discussion

Lu_Zigui_2917's avatar
Lu_Zigui_2917
Icon for Nimbostratus rankNimbostratus
Nov 19, 2005

Why the define rule is error

Hi,

 

I am in trouble,the next rule cann't pass the check?

 

 

rule waprule {

 

if (http_header contains "X-UP-CALLING-LINE-ID=")

 

{

 

pool wap_http_wap1

 

}

 

else

 

{

 

pool WapForOpera

 

}

 

}
  • Martin_Machacek's avatar
    Martin_Machacek
    Historic F5 Account
    Your rules are missing use in front of pool. The correct syntax is:

    
    rule waprule {
       if (http_header contains "X-UP-CALLING-LINE-ID=") {
          use pool wap_http_wap1
       } else {
          use pool WapForOpera
       }
    }