Forum Discussion
Ben_Wilson_2412
Jul 12, 2013Cirrus
Posted By nitass on 07/11/2013 11:02 PM
when HTTP_RESPONSE {
if { [HTTP::status] == "404" or [HTTP::status] == "501" }{
HTTP::redirect "/error/404.jsp"
}
} so, does this work?
by the way, have you ever tried HTTP::retry instead of HTTP::redirect? so, client does not need to send another request (i.e. /error/404.jsp).
HTTP::retry
https://devcentral.f5.com/wiki/irules.http__retry.ashx
It works in that the client is sent a 302 to the error page.
The condition I'm looking to modify is the subsequent request the client will make for the /error/404.jsp page.
We want the HTTP Status for this request to be 404.
Thanks!