Forum Discussion
Romain_H_78910
Nimbostratus
Nov 27, 2009v10.0.1 - HTTP custom error pages through iRule
Hi there,
We are experiencing a problem with our custom error pages after upgrading our viprion chassis from 9.6 to 10.0.1.
here's the code:
b class class_badrequest_page { type string filename "/var/class/badrequest.html" }
when HTTP_CLASS_FAILED {
HTTP::respond 400 content [lindex ${::class_badrequest_page} 0] "Content-Type" "text/html"
}
It was working perfectly on the 9.6 version but not any more, it's returning a blank page with just "class_badrequest_page" instead of the content of the .html file.
We tried every syntax we could for the lindex without success.
It's impossible for us to implement directly the content of the .html file directly in our iRule because we have a lot of similar iRule.
Thanks in advance four your answers.
Romain.H
- hoolio
Cirrostratus
Hi Romain,
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