Forum Discussion
Apr 25, 2011
Response redirect ONLY if browser URI gives an 404 error
Hello All, How does one redirect to an external URL in the response ONLY if the URI in the browser returns a 404? ex) When you hit a page and the URL in the browser is "http://xyz.co...
nitass
Jun 11, 2011Employee
i am confused. how can we differentiate 1 and 2?
1) request --> "http://xyz.com/xyz" // return 404
2) request --> "http://xyz.com/imagexyz" // return 404
for example, is this condition 1?
curl -I http://10.10.70.110/abc
HTTP/1.1 404 Not Found
Date: Fri, 10 Jun 2011 20:20:45 GMT
Server: Apache/2.0.59 (rPath)
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
what is condition 2?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects