Forum Discussion
2 Replies
Sort By
- R_Eastman_13667Historic F5 Account
if {[HTTP:host] starts_with "http://abc.com/"} { HTTP::redirect "http://abc.com/xx/404" }
- Jay_Prasanth_13NimbostratusThanks for your response . Iam not asking for include , I just want exclude one url from 404 redirection. This is my current redirection iRule when HTTP_RESPONSE { if { [HTTP::status] eq "404" } { HTTP::redirect "https://abc.com/xx/404" } } With above iRule ALL mistyped url redirects to https://abc.com/xx/404 . But I want to exclude one url from this redirection , so that the excluded specific url should show 404 HTTP error code in the browser. Let me know if still not cleared.