Forum Discussion
cris_rock_38675
Nimbostratus
Nov 14, 2007irule to display html
Hi all, during maintenance I would like to display an html saying "Under maintenance" sort of thing, how can I do that with irules?
Thanks
Cris
hoolio
Cirrostratus
Nov 14, 2007Hi Cris,
In 4.x, there isn't a method for the BIG-IP to respond with HTML to a client. The BIG-IP can only issue an HTTP 302 redirect (either from a rule or as configured in a fallback host). Try searching reading in the BIG-IP reference guide for your version on iRules 'redirect to' command or the fallback host option on pools.
In 9.x, you can use the HTTP::respond command to send a customized response back to the client.
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
