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...
Yeah, not sure what I was thinking.
Let's try this
when CLIENT_ACCEPTED {
if { [active_members poolA] < 1 } {
pool poolB
set maint 1 }
else { set maint 0 }
}
when HTTP_REQUEST {
if { $maint eq 1 } {
HTTP::uri /splash.html }
}
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