Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

JD_Tomzak_40166's avatar
JD_Tomzak_40166
Icon for Nimbostratus rankNimbostratus
7 years ago
Solved

Undefined procedure error in my Irule

In advance, please forgive my non programmer lameness. This Irule seems like it should work but I get errors when I try to save. when HTTP_REQUEST { if { ([HTTP::method] equals "HEAD") } {  ...
  • uzair_95552's avatar
    7 years ago

    Below rule will work. Assign default pool to Virtual server. F5 will take care to route it to pool. For other than the HEAD method below is the iRule.

     

    when HTTP_REQUEST { if { [HTTP::method] ne "HEAD" } {

     

    HTTP::redirect "; } }

     

    Please note: ";; is enclosed in double quotes.