GavinW_29074
Feb 02, 2012Nimbostratus
Streamline error and response handling...
Hi there,
Currently we've got several rules set-up to do various functions.
A couple of examples are:
* Maintenance page handling
* Application error handling
* SSL Client verification handling
* Timeout handling
Several of these rules also include HTTP::Respond functions where we want to return specific content back to the client, such as a maintenance page or a sorry page...
Having these functions in multiple rules is becoming difficult to manage efficiently...
What I want to do is streamline the response handling into one iRule, and have the other rules set a variable or similar if there's an issue... This can then be handled by the response iRule as appropriate.
This is also necessary because we need to be able to provide tailored error pages for certain VIPs. I can see this being easily achieved by substituting variables on a HTML error page based of Datagroup lookups... However in order for this to be practical, I need to get the response logic contained to one iRule...
What's the best way to achieve this?
I've seen the session command mentioned, but I'm not sure exactly how to use it in this scenario...
Any guidance appreciated, and thanks in advance.
Regards
Gavin