Forum Discussion
IainThomson85_1
Cumulonimbus
Nov 18, 2013Replace HTTP status response in returned URI.
Good Afternoon!
I've got hopefully what will be a very simple answer. On a response of HTTP 5XX (Where X is a variable), I want to redirect the traffic to SERVERADDRESS.com/error_5XX.html
...
Kevin_Stewart
Employee
Nov 19, 2013Well, you can use reject, drop, or discard. You can redirect to another site with HTTP::redirect or HTTP::respond, or use the latter to send arbitrary HTML content. Or you could simply allow the server's response through to the client. I suspect you're doing all of this to address the security vulnerabilities of verbose server error messages, so depending on what's causing the errors, a reject (simply resetting the connection) is the right choice.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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