Forum Discussion

Mersin_108215's avatar
Mersin_108215
Icon for Nimbostratus rankNimbostratus
Jan 30, 2014

HTTP Respond and Redirect Together

Hi -   I need to be able to send an HTTP 404 along with a redirect. Can this be done? Why I want to do this... My OOS page is hosted externally. Currently I have an iRule that will send a 404 wi...
  • Tim_K_92675's avatar
    Jan 30, 2014

    Maybe something like this...

    when HTTP_RESPONSE {
    if { ([HTTP::status] equals "404") } {
        HTTP::respond 404 content " "
        }
    }