Response when Web Server is stopped
I have typical f5 and IIS server based sites configuration: I have two IIS Servers. I have VIPs assigned for the web sites hosted on these servers. I have iRules assigned under these Virtual Server. My iRules have Request and Response events and all works well and logs well.
When I stop any IIS Site, my iRules work and under the Response event I am able to detect [HTTP::status] == 404 and take further action and all that works well.
Now, when I stop the IIS Server (not a site) itself on both Web Servers, the iRule attached on the Virtual Server logs only from the Request Event. The Response event does not hit.
What would be the appropriate event to to handle in this case so that I can further process and redirect users to an alternative location?
Thanks
Rajesh