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

Forum Discussion

CHRISTY_THOMAS's avatar
Aug 01, 2025

301 RESPONSE AND REDIRECT

Please help me create a custom iRule in BIG-IP WAF to issue a 301 redirect to the domain abc.bank.ca

6 Replies

  • Logic: if a hostname equals "test.fedbank.com" then it should respond 301 and redirect to "abc.bank.ca/,,,,,,,,,"

  • What are the conditions u want to use this iRule for? 

    For a simple 301 Redirect you could use: 

    when HTTP_REQUEST {
        HTTP::respond 301 Location https://abc.bank.ca "Connection" "Close"
    }

    This will redirect all traffic on the virtual server towards the domain abc.bank.ca. Of course you could expand on this by keeping for example the URI elements attached.