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

Forum Discussion

cris_rock_38675's avatar
cris_rock_38675
Icon for Nimbostratus rankNimbostratus
Nov 13, 2007

irule to display html

Hi all, during maintenance I would like to display an html saying "Under maintenance" sort of thing, how can I do that with irules?

 

 

Thanks

 

 

Cris

1 Reply

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Cris,

     

     

    In 4.x, there isn't a method for the BIG-IP to respond with HTML to a client. The BIG-IP can only issue an HTTP 302 redirect (either from a rule or as configured in a fallback host). Try searching reading in the BIG-IP reference guide for your version on iRules 'redirect to' command or the fallback host option on pools.

     

     

    In 9.x, you can use the HTTP::respond command to send a customized response back to the client.

     

     

    Aaron