01-08-2011 06:27 AM
I try to get www.abc.com/index.html => http response "200 OK" , I get www.abc.com/123.html => http response "404 Not Found" (Becasue Real Server don't have this file), I want ADX help me if http response 404,ADX redirect this traffic to www.abc.com/alert.html .About this function,How can I do? Thanks.
01-17-2011 05:44 AM
I think this is not possible. There would be 2 options to accomplish that, but neither work.
The problem is that you want to change the response code 404 -> 302. The ADX supports to rewrite HTTP header fields and the HTTP body. But the response code cannot be changed with a rewrite rule.
A csw redirect rule is also not possible, as you cannot match on a response code inside a redirect rule.
A solution would be to configure the real servers to provide the correct response.