Forum Discussion

pitmaster's avatar
pitmaster
Icon for Nimbostratus rankNimbostratus
Aug 25, 2015

Response Code iRule

When the web servers respond with an error code such as '500' the ASM blocks that response (which is suppose to happen), however I would like to send the user a redirect to a custom error page. I could allow the response code then write an iRule that sends the redirect but I would like to believe there is a better way. Any ideas?

 

1 Reply

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Rodney, you could allow the 500 in ASM and then in the http profile on the virtual server configure a fallback host. You should be able to add status code 500 to the fallback on response code section.

     

    This is from memory but hope it helps.

     

    N