Forum Discussion
saidshow_251381
Jun 06, 2016Cirrostratus
Using an iRule to respond with a 500 Internal Server Error message
Hi,
We have a customer error page setup to serve a nice neat error page when various violations are triggered however the JSON applications don't like this as they are not expecting html. What I...
Vijay_E
Jun 06, 2016Cirrus
I am assuming the connection header is being sent by the client and not the server:
when HTTP_REQUEST {
if {[HTTP::header value Connection] contains "close"}{
HTTP::respond 500 content "Internal Server Error" }
}
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