Forum Discussion
Joe_Curl_105786
Nimbostratus
Apr 04, 2014Redirect To Website
I have a case where we have an application that we can not do SSL offload for but I need to redirect to a site down page if the pool is unavailable. I tried the rule below but since I have no http ...
giltjr
Nimbostratus
Apr 04, 2014I don't think you can. Since the connection is encrypted and the F5 knows nothing about what is inside the connection, it can not insert any HTTP functions. Only two ways I can think of. Both invloved sending them to a http server that will accept the same SSL server and send a "out of service" page no matter what the URI.
Method one would be to add the "out of service" server to the current pool, but use priority groups so that it is only selected when all of the other servers are down.
Method two is put this in your iRule:
when CLIENT_ACCEPTED {
if { [active_members current_pool] == 0 } {
pool where_you_want_them_to_go
}
}
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