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...
Yann_Desmarest_
Jun 06, 2016Nacreous
Hi,
Try to use Close instead of close
Or
Use
if {[string tolower [HTTP::header value Connection]] contains "close"}{
- saidshow_251381Jun 06, 2016CirrostratusHi Yann, thank you for the prompt reply. I have tried both of the suggestions however neither worked for me.
- Yann_Desmarest_Jun 06, 2016NacreousOk, that's there is no Connection:Close header, you need to use another header to identify errors. Maybe HTTP::status
- Yann_Desmarest_Jun 07, 2016NacreousWhen you say that it doesn't works, what is the issue ?
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