Forum Discussion

Richard__Harlan's avatar
Richard__Harlan
Historic F5 Account
Jul 01, 2005

Running into a problem

Write a simple iRule to redirect to error page when the BigIp see a 404.But when I add the rule to a VIP the server will not even display a page. Took a trace of the traffic and the client makes the connection request a valid page but never get a responce back from the web server. Below is the rule, I have a default pool to catch traffic the rule does not. Thanks

 

 

 

when HTTP_REQUEST {

 

if { [HTTP::status] eq "404" } {

 

redirect to "http://10.10.10.1/en_US/error.html" }

 

}
  • bl0ndie_127134's avatar
    bl0ndie_127134
    Historic F5 Account
    This is actually a validation bug; It should not have allowed you to add HTTP::status in the request event. This will be fixed on the next release.