Forum Discussion

kng_107168's avatar
kng_107168
Icon for Nimbostratus rankNimbostratus
Mar 02, 2011

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::redirect "/splash.html"

 

}

 

}

 

 

Essentially I want the HTTP::host to be the same. I don't really care of the uri, whether the user sees the splash.html or not.

 

 

Can anyone point out what I'm doing wrong please?

 

 

Thanks in advance.

 

 

Ken

 

20 Replies