For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

san2hosh_306591's avatar
san2hosh_306591
Icon for Nimbostratus rankNimbostratus
May 16, 2017

HTTP::respond 404 in Local traffic policy

I'm Trying to Convert some irules to Local traffic policies. So I faced a problem at redirection of one uri.

when HTTP_REQUEST{ switch -glob[HTTP::uri]{ "/log" pool abc } "/san"{ HTTP::respond 404 } }

I don't understand how to do that 404 part.I need help Please. 

1 Reply

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Here's a workaround:

     

    • Replace the URI path to something you know does not exist in the backend server pool;
    • Forward traffic to that pool.