F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

lbong_53781's avatar
lbong_53781
Icon for Nimbostratus rankNimbostratus
Apr 10, 2009

Respond with a 500 status code

Hi,

 

 

Can an iRule be created to respond back to the client with 500 status.

 

 

i.e client try to connect to http://my.web.site.com/some/uri (which is a vip on the F5). The F5 return a 500 status back to the client without consulting any pool.

 

 

Thanks

 

 

1 Reply

  • Absolutely. Check out the HTTP::respond command.

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__respond.html

     

    Click here

     

     

     

    -Joe