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...
hooleylist
Apr 26, 2011Cirrostratus
Hi TRX,
If you send a 404 in response to an image, the browser should just not display the image. It shouldn't cause the page which referenced the object to be redirected.
Do you have more examples of URIs you would want to redirect and ones you wouldn't? Or could you implement this logic based on content-types? Which LTM version are you trying to do this on?
Aaron
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