Forum Discussion
kng_107168
Mar 02, 2011Nimbostratus
unable to redirect to a different page on another pool
This is what I have but the client browser doesn't seems to like the redirection.
when HTTP_REQUEST {
if { [active_members poolA] < 1 } {
use pool poolB
HTTP::redire...
kng_107168
Mar 02, 2011Nimbostratus
splash.html is a static page with our maintenance hours. It is hosted on another web server in our private LAN. And I have put that web server into a separate pool. In my example, that would be poolB.
I think I can get around this by creating a dedicated virtual server with another real Internet IP. But I don't want to waste an IP address just for this purpose.
So here is a pseudo code of what I want to do.
- someone access https://my.server.com/login.jsp
irule:
if active_memebers of poolA < 0
then use poolB and use this page instead https://[http::host]/splash.html
Does this make sense? Or is there a better and easy way to do this?
Thanks.
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